CityFlow icon indicating copy to clipboard operation
CityFlow copied to clipboard

Difficulty in using set_vehicle_route() control function

Open ankitdipto opened this issue 3 years ago • 1 comments

I have been trying to modify the route of a vehicle dynamically. However, I have tried passing the new route as a list of various anchor points but none of them worked!

ankitdipto avatar May 15 '21 14:05 ankitdipto

"set_vehicle_route()" returns true if the route is available and can be connected. In your case does it returns true? if not it may because the new route you given is not connected.

only-changer avatar May 20 '21 01:05 only-changer