Full Configuration Reference
This page lists all configuration parameters available in default.yaml. Start from simworld for global toggles, then dive into city generation, assets retrieval/placement, traffic, map, user, and scooter settings as needed.
Section map
Global Settings (simworld)
Parameter |
Type |
Description |
|---|---|---|
|
int |
Random seed for reproducibility. Default: |
|
float |
Time step (delta time) for simulation in seconds. Default: |
|
str |
Unreal Engine blueprint path to the UE Manager class. Default: |
City Generation (citygen)
City generation parameters control procedural city creation, including roads, buildings, and city elements.
Input/Output Paths
Parameter |
Type |
Description |
|---|---|---|
|
bool |
Whether to use an input layout file. Default: |
|
str |
Path to input roads JSON file. Use |
|
str |
Path to bounding boxes JSON file. Default: |
|
str |
Directory for output files. Default: |
|
str |
Name of the generated world JSON file. Default: |
|
str |
Path to UE assets JSON file. Default: |
Road Generation
Parameter |
Type |
Description |
|---|---|---|
|
int |
Length of each road segment in Unreal units. Default: |
|
int |
Maximum number of segments per road. Default: |
|
int |
Distance threshold for snapping roads together. Default: |
|
bool |
Whether to ignore road conflicts during generation. Default: |
|
bool |
Generate only highways. Default: |
|
bool |
Initialize roads with two segments. Default: |
|
float |
Time delay between generating road segments in seconds. Default: |
|
int |
Minimum angle deviation for intersections in degrees. Default: |
Building Placement
Parameter |
Type |
Description |
|---|---|---|
|
int |
Minimum distance between buildings and roads. Default: |
|
int |
Minimum distance between buildings and intersections. Default: |
|
int |
Minimum distance between buildings. Default: |
|
int |
Distance from building to road side. Default: |
Element Generation
City elements include parking spaces, furniture, and trees.
Parameter |
Type |
Description |
|---|---|---|
|
bool |
Enable element generation. Default: |
|
int |
Number of threads for parallel element generation. Default: |
|
int |
Minimum distance between elements and buildings. Default: |
|
int |
Minimum distance between elements. Default: |
|
int |
Number of attempts to place buildings. Default: |
Element Offsets
Parameter |
Type |
Description |
|---|---|---|
|
int |
Offset distance for parking spaces. Default: |
|
int |
Offset distance for furniture placement. Default: |
|
int |
Offset distance for tree placement. Default: |
Element Density
Parameter |
Type |
Description |
|---|---|---|
|
float |
Density of parking spaces (0.0 to 1.0). Default: |
|
float |
Density of furniture (0.0 to 1.0). Default: |
|
float |
Density of trees (0.0 to 1.0). Default: |
Quadtree Settings
Quadtree is used for spatial indexing and collision detection.
Parameter |
Type |
Description |
|---|---|---|
|
int |
Maximum quadtree depth levels. Default: |
|
int |
Maximum objects per quadtree node. Default: |
|
int |
X coordinate of quadtree bounds origin. Default: |
|
int |
Y coordinate of quadtree bounds origin. Default: |
|
int |
Width of quadtree bounds. Default: |
|
int |
Height of quadtree bounds. Default: |
Route Generation
Parameter |
Type |
Description |
|---|---|---|
|
bool |
Enable route generation. Default: |
|
int |
Number of routes to generate. Default: |
|
int |
Minimum waypoints per route. Default: |
|
int |
Maximum waypoints per route. Default: |
Asset Retrieval and Placement (assets_rp)
Parameter |
Type |
Description |
|---|---|---|
|
str |
Path to description map JSON file. Default: |
|
str |
Path to sample dataset directory. Default: |
|
str |
Output directory for retrieved assets. Default: |
|
str |
Model name for environment description retrieval. Default: |
|
str |
Model name for asset retrieval. Default: |
|
str |
Path to generated world JSON file. Default: |
Traffic Simulation (traffic)
General Traffic Settings
Parameter |
Type |
Description |
|---|---|---|
|
int |
Number of vehicles in simulation. Default: |
|
int |
Number of pedestrians in simulation. Default: |
|
str |
Path to roads JSON file. Default: |
|
int |
Minimum distance between traffic objects in Unreal units. Default: |
|
int |
Detection angle for traffic objects in degrees. Default: |
|
int |
Distance between waypoints in Unreal units. Default: |
|
int |
Number of lanes per road. Default: |
|
int |
Offset between lanes in Unreal units. Default: |
|
int |
Offset from intersection center in Unreal units. Default: |
|
int |
Offset for sidewalk placement in Unreal units. Default: |
|
int |
Offset for crosswalk placement in Unreal units. Default: |
|
int |
Number of steering points for path planning. Default: |
Pedestrian Settings
Parameter |
Type |
Description |
|---|---|---|
|
int |
Maximum pedestrian speed in Unreal units per second. Default: |
|
int |
Minimum pedestrian speed in Unreal units per second. Default: |
|
int |
Distance threshold for waypoint arrival in Unreal units. Default: |
|
str |
Unreal Engine blueprint path to pedestrian model. Default: |
Vehicle Settings
Parameter |
Type |
Description |
|---|---|---|
|
float |
Proportional gain for steering PID controller. Default: |
|
float |
Integral gain for steering PID controller. Default: |
|
float |
Derivative gain for steering PID controller. Default: |
|
float |
Maximum steering angle. Default: |
|
int |
Maximum allowed lane deviation in Unreal units. Default: |
|
int |
Distance threshold to route end in Unreal units. Default: |
|
str |
Path to vehicle types JSON file. Default: |
Traffic Signal Settings
Parameter |
Type |
Description |
|---|---|---|
|
int |
Normal offset for traffic light placement in Unreal units. Default: |
|
int |
Radial offset for traffic light placement in Unreal units. Default: |
|
str |
Unreal Engine blueprint path to traffic light model. Default: |
|
str |
Unreal Engine blueprint path to pedestrian light model. Default: |
|
int |
Duration of green light in seconds. Default: |
|
int |
Duration of yellow light in seconds. Default: |
|
int |
Duration of pedestrian green light in seconds. Default: |
Map Settings (map)
Parameter |
Type |
Description |
|---|---|---|
|
str |
Path to input roads JSON file. Default: |
User Agent Settings (user)
Parameter |
Type |
Description |
|---|---|---|
|
int |
Number of user agents. Default: |
|
int |
Agent movement speed in Unreal units per second. Default: |
|
bool |
Enable agent-to-agent communication. Default: |
|
bool |
Use rule-based behavior. Default: |
|
int |
Distance threshold for waypoint arrival in Unreal units. Default: |
|
str |
Unreal Engine blueprint path to user agent model. Default: |
|
int |
Number of threads for agent processing. Default: |
|
str |
LLM model identifier or path. Default: |
|
str/None |
Custom LLM API URL. Set to |
|
str |
LLM provider name (e.g., “openai”, “anthropic”). Default: |
Scooter Settings (scooter)
Parameter |
Type |
Description |
|---|---|---|
|
str |
Unreal Engine blueprint path to scooter model. Default: |
Creating Your Own Configuration
To create a custom configuration:
Copy the example template:
cp config/example.yaml config/your_config.yaml
Modify the values in
your_config.yamlaccording to your needs.Load your configuration in Python:
from simworld.config import Config config = Config('path/to/your_config') # use absolute path here
Note
The default.yaml file contains built-in defaults shipped with the package. We recommend not editing this file directly. Instead, create your own configuration file based on example.yaml.