配置事故场景

This commit is contained in:
Zihan Ye 2026-04-25 08:26:11 +08:00
parent 7becebfe6b
commit a4dc43a151
1 changed files with 4 additions and 4 deletions

View File

@ -7,8 +7,8 @@ sumo:
# route_file: "sumo_resource/routes_20231002_optimized.xml" # route_file: "sumo_resource/routes_20231002_optimized.xml"
# route_file: "sumo_resource/routes_optimized.xml" # route_file: "sumo_resource/routes_optimized.xml"
step_length: 1 step_length: 1
begin_time: 25200 begin_time: 39600
end_time: 36000 end_time: 43200
# begin_time: 39600 # begin_time: 39600
# end_time: 57600 # end_time: 57600
# gui: true # gui: true
@ -23,10 +23,10 @@ environment:
detector_start_offset_m: 50 detector_start_offset_m: 50
passive_prefix_segment_count: 3 passive_prefix_segment_count: 3
incident: incident:
enabled: false enabled: true
# Measured from the end of warmup / the start of active traffic restoration. # Measured from the end of warmup / the start of active traffic restoration.
start_delay_min_range: [10, 20] start_delay_min_range: [10, 20]
duration_min_range: [10, 20] duration_min_range: [10, 30]
# Sample the stopped vehicle location from the downstream portion of the corridor. # Sample the stopped vehicle location from the downstream portion of the corridor.
downstream_fraction_range: [0.65, 0.95] downstream_fraction_range: [0.65, 0.95]
target_position_buffer_m: 25.0 target_position_buffer_m: 25.0