Thanks for your reply. I have a few more question to discuss with you. 1. Do you know how the position of the vehicle is updated in each simulation step? Does it assume constant speed during each step or use the acceleration also? 2. What's more, if the vehicle is turning in the intersection, how do I use the angle to calculate the next position? Does the vehicle rotate according to the front bumper? Looking forward to your reply. Best wishes,Duowei----- 原始邮件 ----- 发件人:Jakob Erdmann <[email protected]> 收件人:[email protected], Sumo project User discussions <[email protected]> 主题:Re: [sumo-user] Precisely control of acceleration 日期:2022年02月10日 14点14分
In order to control the acceleration, you must call traci.vehicle.setSpeed in every simulation step, to set the speed that would result from the desired acceleration. Am Do., 10. Feb. 2022 um 04:52 Uhr schrieb 李多为 <[email protected]>: Dear developers, Hello! I am now using Traci to control the behavior of vehicles in intersections. I have a questions to discuss with you. Do you have any method to precisely control the acceleration of the vehicle? traci.vehicle.setAcceleration() only sets the optimal maximum value, but can't control it precisely. Looking forward to your reply. Best wishes,Duowei_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
