Skip to content

Commit

Permalink
change distance
Browse files Browse the repository at this point in the history
  • Loading branch information
EricChen-Lei committed Dec 13, 2024
1 parent b3bdb9d commit c2dccbf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def stop_veh(self, veh_id):
traci.vehicle.setStop(
vehID=veh_id, # Vehicle ID
edgeID=traci.vehicle.getRoadID(veh_id), # Edge ID where the vehicle stops
pos=280, # Position (meters) on the edge
pos=285, # Position (meters) on the edge
laneIndex=2, # Lane index (e.g., 0 for the first lane)
duration=10000, # Duration (in seconds) the vehicle stays stopped
flags=0 # Flags (optional, can be left as 0)
Expand Down

0 comments on commit c2dccbf

Please sign in to comment.