Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] MoveXY function for vehicles

Dear SUMO developers,


I'm working on simulating shared mobility vehicles in SUMO with a routing scheduler. 


For the purpose of having virtual stops (for vehicle idle time), I'm trying to use the 'Vehicle.MoveXY' function to move them outside the network and bring them back with 'Vehicle.moveTo' function. I can replicate the behavior in a small dummy network but on another network, MoveXY doesn't seem to work as the vehicle move outside for only one simulation step and then gets back on the edge to continue traveling.         


Can you provide some recommendations for using the function or in general how can I have virtual stops without removing the vehicles from the network (if using  keepRoute = 2 for the freedom of keeping the vehicle route )?


Best regards,

Moeid Qurashi



Back to the top