Hello,

How can I change a vehicle's speed state so that it runs a red light with TraCI 
using python?


I checked out the files at 
http://sumo.dlr.de/trac.wsgi/browser/trunk/sumo/tests/traci/set_variable/Vehicle/SetSpeed_SpeedMode/runs_at_red_forced
 and have written a python script to simulate it using sumo-gui.


Currently, the vehicle (vehicle 0) stops at the red light and will not run it. 
I am at a loss on how to inject these commands which I think will let the 
vehicle run the light:

repeat 1 simstep2 0
setvalue 0xc4 0xb3 0 <int> 14
setvalue 0xc4 0x40 0 <double> 10
repeat 149 simstep2 0


Any available help would be appreciated.
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to