Hello,
when a vehicle is moved to an edge that was not previously on it's route,
it will be given a new route which consists of that new edge only. As long
as it receives a moveToXY command in the next step it will keep driving but
otherwise it may reach the end of its route and disappear. As a workaround
you can set the route of the vehicle (in forward direction) if you know it
beforehand.
regards,
Jakob

2017-07-05 12:40 GMT+02:00 Husen, Wim van via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hi all,
>
> I have a problem with moving a vehicle to an xy position (TraCI:
> MOVE_TO_XY).
> - When I move a vehicle forward, all goes well.
> - When I move a vehicle backward on the same edge, all goes well.
> - When I move a vehicle backward to the previous link, the vehicle
> disappears at the end of the previous link.
>
> Example:
> X------------ > -------------X--------------- > ---------------X
>          Edge 1                                 Edge 2
> When I move the vehicle from edge 2 to edge 1, the vehicle disappears at
> the end of edge 1.
> The parameters in the call: Edge1, 0, x, y, -1001, 2
>
> What's going wrong here?
>
> Wim van Husen
> Engineer Productontwikkeling
> Sweco Nederland B.V.
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to