Skip to main content

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

Hello,
carFollowModels in SUMO may distinguish between a desired maximum deceleration 'decel' and the maximum deceleration in case of emergency 'emergencyDecel'. The latter value is assumed to be at least as high as 'decel' and ultimately restricts braking capability. By default emergencyDecel assumes the same value as decel so you may never notice the distinction.
The fact that emergencyDecel may have a lower value than decel after calling traci.vehicle.setDecel is a bug (https://github.com/DLR-TS/sumo/issues/3755) now fixed.
You can either update to the latest development version or call
vehicle.setEmergencyDecel() explicitly as a workaround.

regards,
Jakob

2018-01-03 13:28 GMT+01:00 Hess, Ramona (TM-P) via sumo-user <sumo-user@xxxxxxxxxxxxxxxxxxxxx>:
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user


Back to the top