Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Request for Guidance on Assigning Downstream Parking Area Stops Using TraCI

Thank you for reporting the problem with rerouteParkingArea. It has now been fixed: https://github.com/eclipse-sumo/sumo/issues/17353

Am Mo., 17. Nov. 2025 um 08:15 Uhr schrieb Rohan Verma via sumo-user <sumo-user@xxxxxxxxxxx>:

Dear Community,

I am currently working on assigning parking area stops using TraCI via the following command:

traci.vehicle.rerouteParkingArea(veh_id, park_id)

However, when the designated parking area lies downstream from the vehicle’s current route, this command results in an error. My intention is to reroute the vehicle so it can reach the specified parking space—potentially by performing a U-turn at the next junction (if permitted) or by identifying the shortest-loop path that leads back to the parking area.

Despite several attempts, I have not been able to implement a reliable solution. My network contains both bidirectional and unidirectional edges, which makes determining a feasible workaround particularly challenging.

Could anyone please advise on how to properly assign parking stops that are located downstream of a vehicle’s current route? Any guidance or examples would be greatly appreciated.

Thank you in advance for your support.

Kind regards,

Rohan

_______________________________________________
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