0

I want to change the speed of a road section after sometime from the simulation start. For an example, at time step = 50, the speed of a particular road segment should be set to 5 m/s though its original speed has been something else (e.g. 15 m/s) before the specified time step.

Any advice is appreciated.

user8561039
  • 115
  • 10

1 Answers1

1

SUMO's TraCI interface supports both changing the state of individual lanes or changing the state of entire edges. All you need to do is send the required command (0xc3 or 0xca) and the required variable (0x41 in both cases).