Hi Aondoseer, Am 30.06.2015 um 01:50 schrieb atoo a.a. (aaa1n13): > 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
this refers to the simple traci.simulationStep command (repeated once) > setvalue 0xc4 0xb3 0 <int> 14 this refers to traci.vehicle.setSpeedMode where 0 is the vehicle id and 14 the bitmask which disables the red light check. > setvalue 0xc4 0x40 0 <double> 10 this refers to traci.vehicle.setSpeed where 0 is the vehicle id and 10 the speed in m/s > repeat 149 simstep2 0 Again simulationSteps (149 repetitions this time). To get from the hex numbers to the commands you can consult http://sumo.dlr.de/trac.wsgi/browser/trunk/sumo/src/traci-server/TraCIConstants.h which gives at least a hint on the command name. Regards, Michael ------------------------------------------------------------------------------ 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
