On 27 Apr 2020, at 20:16, Parishan Ismael <
parisha...@uod.ac> wrote:
> variableType << count << Edgetype << edgeId << Postype << endPos << Lanetype << laneInd << Postype << duration << Lanetype << flag);
Your `duration` field is introduced as type `Postype`. Maybe switching this over to `Durtype` here already fixes the problem. I did not check for others.
In general, you should be able to re-use much of the functionality of the already-implemented `TraCICommandInterface::Vehicle::stopAt` method <
https://github.com/sommer/veins/blob/veins-5.0/src/veins/modules/mobility/traci/TraCICommandInterface.cc#L445>
Btw - please consider contributing this as a patch to the upstream, once it works. I am sure other people would love to have this functionality as well.
Best,
Christoph
--
Jun.-Prof. Dr.-Ing. Christoph Sommer
Cooperative Mobile Systems Group
Heinz Nixdorf Institute, Paderborn University, Germany
https://www.cms-labs.org/people/sommer/