Hello Marie-Ange,

Probably the vehicle needs some time to decelerate to the slow down speed. Try 
setting a longer duration and follow the vehicle for a while. Also read the 
other commands related to speed at 
http://sourceforge.net/apps/mediawiki/sumo/index.php?title=TraCI/Change_Vehicle_State
Speed mode (0xb3) should be considered as well, and if you want instant speed 
changes I think you have a better chance with the speed command (0x40).

Regards,
Robbin Blokpoel

-----Original Message-----
From: Marie-Ange Lebre [mailto:[email protected]] 
Sent: donderdag 22 mei 2014 14:23
To: [email protected]
Subject: [sumo-user] slowDown Traci Function

Hi everybody,

I use the TraCI function in my code :
traci.vehicle.slowDown(vehID, speed, duration)

and then I display : traci.vehicle.getSpeed(vehID)
but my vehicle doesn't have the speed chosen by slowdown function...

Can you help me ?

Thanks a lot !
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to