The setStop command already existed in TraCI Version 7 but the parking flag was only added at version 8. You will have to approach the Veins developers regarding support for this feature. regards, Jakob
2015-06-10 15:20 GMT+02:00 Florian Franke <[email protected] >: > Hello, > > I built a simple SUMO-scenario in which a vehicle parks off-street without > blocking the lane. > The vehicle's route-definition in my *.rou.xml file contains a stop: > <route edges="f1top1 p1top2 p2tof2 f2tof3"> > <stop lane="p1top2_0" endPos="10" duration="20" > parking="true" /> > </route> > > Now, my goal is to let Veins assign appropriate TraCI commands to a > specific vehicle in order to perform such an off-street parking. > > I found the command "stopAt" in > src/veins/modules/mobility/traci/TraCICommandInterface.h, but the vehicle > blocks the specified lane. > SUMO's TraCI-command "stop" ( > http://sumo.dlr.de/wiki/TraCI/Change_Vehicle_State) accepts stop-flags > and I think this command is suitable for off-street parking. > In $SUMO_HOME/tools/trac/vehicle.py I found the "setStop” method for > Python. > But I did not find the command in TraCICommandInterface.h. Is it not yet > implemented ("$SUMO_HOME/tools/traci/constants.py" says TRACI_VERSION = 8, > but "src/veins/modules/mobility/traci/TraCIConstants.h" says TRACI_VERSION > 7)? > > So my questions are: > 1. Is "setStop" the correct command for off-street parking? > 2. If so, how can I send this command using Veins? > > I am using Veins 4 alpha 2 and SUMO 0.22.0. > > Regards, Florian > > ------------------------------------------------------------------------------ > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
