To set an exact deceleration, compute the resulting speed and then use vehicle.setSpeed or vehicle.slowDown. Possibly, you have to override safety features to achieve this. See https://sumo.dlr.de/wiki/TraCI/Change_Vehicle_State#speed_mode_.280xb3.29
regards, Jakob Am Mo., 12. Aug. 2019 um 17:17 Uhr schrieb <[email protected]>: > Hey everyone, > I am doing a research on the safety improvement of the ACC algorithm. > Among them, I need to set a specific deceleration(eg. -3m/s^2) for the > vehicle at a specific time. However, I did not find a way to set the > deceleration for the vehicle in Traci's documentation. In the > documentation, I found setDecel means Sets the vehicle's wished maximum > deceleration to the given value. Is there a function in Traci that sets the > deceleration instead of the maximum desired deceleration for a vehice at > next simulation step? > Best regards, > Xianming > _______________________________________________ > sumo-user mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
