set-world-settings

Reads and changes a running CARLA server's WorldSettings including synchronous mode, fixed timestep, and rendering.

3|Updated Jul 20, 2026
One-click install
npx skills add https://github.com/carla-simulator/carla-agentic-tools --skill set-world-settings-carla-simulator
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: set-world-settings
Source: https://github.com/carla-simulator/carla-agentic-tools/tree/main/skills/python-api/set-world-settings
Command: npx skills add https://github.com/carla-simulator/carla-agentic-tools --skill set-world-settings-carla-simulator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires carla, and includes scripts (resource) and references (resource) components.

What problem does it solve? Configuring a running CARLA simulator's timing and rendering behavior requires correctly applying WorldSettings and keeping the Traffic Manager's sync mode matched, and mistakes leave the server frozen, jittery, or non-deterministic. ## Core Features & Use Cases - Sync/Async Switching: Enable synchronous mode at a fixed fps or timestep, or restore asynchronous free-running mode, with the Traffic Manager automatically set to match. - Field-Level Changes: Adjust individual WorldSettings fields such as no_rendering_mode, physics substepping, culling distances, and deterministic ragdolls without touching sync state. - Verified State: Every change is read back and printed as a VERIFY block, since apply_settings returns a frame id rather than confirmation. - Use Case: Before a frame-aligned multi-sensor capture, run sync mode at 20 fps so the server advances only on client ticks, then restore async mode afterward so the server self-ticks for the next client. ## Quick Start Ask the agent to put the running CARLA server into synchronous mode at 20 fps and verify the resulting world settings.

Frequently Asked Questions about set-world-settings

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enable synchronous mode in CARLA?▼

Run the world_settings.py script with the sync command, for example sync --fps 20, which sets synchronous_mode to True and fixed_delta_seconds to 0.05. The Traffic Manager is set synchronous at the same time, and the server then advances only when your client calls world.tick().

How do I run CARLA at a fixed timestep or fps?▼

Use sync --fps 20 or sync --delta 0.05 to set a fixed step; fps is derived as 1 divided by fixed_delta_seconds. Keep the step at or below 0.1 seconds for stable physics, and the script raises max_substeps automatically if the substep budget is exceeded.

Why is my CARLA server frozen after enabling sync mode?▼

In synchronous mode the server advances only when a client calls world.tick(), so a frozen appearance means nothing is ticking it. Tick from your client, or run the async command to hand the clock back to the server.

Why is CARLA traffic jittery or teleporting in sync mode?▼

Jittery traffic means the world is synchronous but the Traffic Manager is asynchronous, or vice versa. The sync and async commands set both together; manually you would call tm.set_synchronous_mode(True) on the same TM port.

Does this skill require a CARLA source checkout or UE4?▼

No, it only needs the carla Python module importable by the active interpreter and a reachable, already-running CARLA server. It does not need UE4_ROOT or a source checkout, and it was tested against CARLA 0.9.16.

How do I keep CARLA world settings across a map load?▼

load_world and reload_world reset settings unless reset_settings is False, so pair this skill with the load-map skill's --keep option. Re-assert Traffic Manager sync after the load because a load detaches the old world.