Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Can sumo rerouter work together with `traci.vehicle.rerouteParkingArea'?

Yes. This should work.

Am Do., 12. Mai 2022 um 05:31 Uhr schrieb 何润恺 <h772021995@xxxxxxxxx>:
Hello Sumo developers and dear sumo users,

I have a question about the function `traci.vehicle.rerouteParkingArea' used with the sumo rerouter, the idea was shown in the following figure.
In my simulation, 
  • I want to use the sumo rerouter to simulate the driver's normal parking searching behaviour (without parking occupancy information, use the rerouter default parameter).
  • In the meantime, I want to use `traci.vehicle.rerouteParkingArea' to change these sumo rerouters-controlled vehicles' destinations according to the additional parking spaces occupancy database. To check whether the driver's preference may lead to meaningless cruising.
I want to ask whether the `traci.vehicle.rerouteParkingArea' can overwrite the sumo rerouter in one simulation step? When I put these two functions in a simulation loop, will these ideas work or conflict?

Thanks a lot for your kindly patient help!

BR,
Runkai  


image.png
_______________________________________________
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