I have a problem to manually control a car always driving on the road.
While SUMO controlling some NPC cars, I also have a player car which only response to user's control input. The state of this car is synced to SUMO through API. My problem is that the player car get disappeared after moveToXY(keepRoute=0) API calls. It seems it ran out routes, esp. on a short road segment.
How could I keep a car always on the road? so that other NPC cars won't run through the player car.