Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Issue with Taxi Disappearing After Custom Route Completion in SUMO

Vehicles leave the simulation at the end of their route. For taxis which should stay after drop-off, this is resolved by the idling algorithm (https://sumo.dlr.de/docs/Simulation/Taxi.html#idle_behavior).
However, this idle-algorithm only becomes active if the taxi has finished the last drop-off. To avoid premature exits, please make sure that your custom route either concludes the drop-off or that the vehicle doesn't reach the final edge (by adding a stop or extra edges).

Am Do., 3. Juli 2025 um 18:11 Uhr schrieb Jay Patel via sumo-user <sumo-user@xxxxxxxxxxx>:
We are currently working on a simulation involving taxis following custom routes in SUMO. However, we've encountered an issue: once the custom route is completed, the taxi disappears from the simulation—even if the passenger has not yet been picked up or dropped off. I have attached the function code for your reference, get_all_shortest_routes() will return list of list of all the possible shortest path from one edge to another.

Could you please advise on how this issue can be resolved? We would like the taxi to remain active in the simulation until the passenger is successfully dropped off, regardless of whether the custom route has ended.

Any guidance or recommendations would be greatly appreciated.

Thanks,
Jay


_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top