Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Manually drive a car in SUMO

Hello,

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.

Thanks,
Liang

Back to the top