Hello, i am trying to implement the command change lane in VEINS, so what i did is make a function that uses the command:
TraCIBuffer buf = queryTraCI(CMD_SET_VEHICLE_VARIABLE, TraCIBuffer() << variableId << nodeId << variableType << count << (uint8_t)TYPE_BYTE << laneId << (uint8_t)TYPE_INTEGER << duration ) in the TraciScenarioManager.cc, following instructions from: http://sumo-sim.org/userdoc/TraCI/Change_Vehicle_State.html. The error i am getting is: "The second lane change parameter must be the duration given as an integer." Best, Pavlos ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
