sumo
sumo copied to clipboard
The next step vehicle speed is not equal to traci.vehicle.setSpeed(vehicle, speed)
hello:
Add your issue description here. I want to control the speed of the vehicle in the next step through traci.setSpeed, but The next step vehicle speed is not equal to traci.vehicle.setSpeed(vehicle, speed) both at low speed, medium speed or high speed. Figure 1 is a Python file; Figure 2 is the rou.xml file; Figure 3 is the output at low speed; Figure 4 is the output at medium speed; Figure 5 is the output at high speed. I tried decel = 3 or 10, sigma = 0 or 0.5, tau = 0.5, 0.6 or 0.7 in the rou.xml file, but not solve the problem. Or does the built-in CACC model in SUMO affect setSpeed? What's the solution? Or something I didn't take into account?
*
Figure1
Figure2
Figure3
Figure4
Figure5

**SUMO-version:**1.14.1, 1.13and 1.10 all tested
**operating system:**win10
Did you alter the speed mode, too? If not, there may be situations where SUMO considers your speed as unsafe and ignores it. In order to study your problem better, you could also attach a minimum working example here. Instead of providing your script, you can record the TraCI calls (see docs).
closing for lack of feedback, please add a comment if you need more help