0

I was trying to stop my vehicle through this command in the .rou.xml file:

<vehicle id="vec1" type="G1" route="route0" depart="0" > 
     <stop lane="376643565#0_0" friendlyPos="false" duration="10"/>
</vehicle>

What I've noticed is that the vehicle correctly stops at that line for that time interval, but as soon as it starts travelling again, it doesn't follow the route0, but it comes back to the original position as well as the second vehicle which follows it, while all the other vehicles follow the normal route.

Why this happens? If I run the scenario from Sumo alone, then all vehicles follow the same given path, but in Veins they don't. May I have a flag or something set by default?

Update: I've tried a new path, in which there's a straight line and it works. While the one which is not working is in proximity of a roundabout Thanks

Julian Heinovski
  • 1,822
  • 3
  • 16
  • 27
moi
  • 13
  • 5

0 Answers0