Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] The moto stops after moveToXY

I want to let moto avoid vehicle which parked on the road and this avoidance is in the same lane

Using Traci's moveToXY (traci.vehicle.moveToXY(veh, edge, lane, x, y + 2, angle=tc.INVALID_DOUBLE_VALUE,keepRoute=2) (tried all keepRoute
But after the y-coordinate of moto is shifted, it doesn’t move forward anymore, and it doesn’t move forward together until the car is moving.

How can I  solve this problem?

Many thanks,
Yun

Back to the top