Alternatively, to using moveTo you can use moveToXY, this function has a flag which determines whether vehicles - are placed within their current route (forward and backward including internal edges) - may be placed on edges not on their current route - may be placed outside the road network (for visualization)
regards, Jakob 2016-10-10 12:18 GMT+02:00 sumo.mahei <[email protected]>: > Hi, > > I had a similar issue some time ago, when moving and rerouting > active vehicles. Finally I always combined moving vehicles and > giving them a new route. Maybe this works for you as well. > Btw. route manipulations are also a bit tricky since sumo rather > catenate routes then exchanging them. > > Best Marek > simoserv GmbH > > On 10.10.2016 10:00, Dominik S. Buse wrote: > > Dear Sumo community, > > > > Using TraCI, vehicles can be moved along their current route. Moving to > > an edge yet to pass or an arbitrary position on the current edge works > > perfectly fine. However, it seems impossible to move a vehicle to a > > previous edge of its route, e.g., the last one it just left. Is there a > > special rationale for this limitation? > > > > It also seems impossible to move a vehicle onto an internal lane within > > a junction. Would this crash some internal system or could it be done? > > > > Best, > > Dominik > > > > > ------------------------------------------------------------ > ------------------ > 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 > [email protected] > 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 [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
