Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] traci deceleration

Hi, I have a problem with the traci.vehicle command setDecel.
Since I want to control one car in the SUMO-traffic by an external model, I would like to set the maximum acceleration and the maximum deceleration of this car to 999999, so that only the external model has an impact on the car’s possible acceleration and deceleration.
Setting the maximum acceleration to 999999 works perfectly fine. When I try to speed up “my_car” via the external model, it accepts the new speed without any delay. However, the car seems to have a constant deceleration of 4.5 m/s^2 when slowing down, no matter whether I put traci.vehicle.setDecel(‘my_car’,1) or traci.vehicle.setDecel(‘my_car’,999999) or anything else. Am I forgetting something or is there something wrong with the command?
Thanks!
Ramona



Sitz/Registered Office: Berlin,
Registergericht/Registration Court: Amtsgericht Charlottenburg,
Registernummer/Company Registration Number: HRB 21 280,
Geschäftsführer/Managing Directors: Michael Schubert, Kai-Stefan Linnenkohl
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Ulrich Eichhorn

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sumo-user

Back to the top