You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.1 KiB
39 lines
1.1 KiB
# Simulation settings
|
|
FPS = 30
|
|
DELTA_SECONDS = 1.0 / FPS
|
|
|
|
# Camera settings
|
|
CAM_WIDTH = 1280
|
|
CAM_HEIGHT = 720
|
|
CAM_FOV = 90
|
|
|
|
# Radar settings
|
|
RADAR_HORIZONTAL_FOV = 120
|
|
RADAR_VERTICAL_FOV = 30
|
|
RADAR_RANGE = 100
|
|
|
|
# Lidar settings (balanced for performance + quality)
|
|
LIDAR_RANGE = 100
|
|
LIDAR_CHANNELS = 32
|
|
LIDAR_POINTS_PER_SECOND = 100000
|
|
LIDAR_ROTATION_FREQUENCY = FPS
|
|
|
|
# Output
|
|
MAX_FRAMES = 200
|
|
|
|
# -----------------------------------------------------------------------
|
|
# Scenario defaults (scenarios read these via getattr(config, KEY, default))
|
|
# -----------------------------------------------------------------------
|
|
DEFAULT_SCENARIO = "braking"
|
|
|
|
# BrakingScenario
|
|
SCENARIO_LEAD_DISTANCE = 25 # metres ahead of ego for lead vehicle
|
|
SCENARIO_BRAKE_FRAME = 80 # frame on which the lead vehicle emergency-brakes
|
|
|
|
# CutInScenario
|
|
SCENARIO_CUTIN_DISTANCE = 15 # metres ahead of ego for NPC in adjacent lane
|
|
SCENARIO_CUTIN_FRAME = 60 # frame on which NPC is forced to change lane
|
|
|
|
# ObstacleScenario
|
|
SCENARIO_OBSTACLE_DISTANCE = 30 # metres ahead of ego for static prop
|
|
SCENARIO_OBSTACLE_PROP = "static.prop.trafficcone01"
|