I want to let moto avoid vehicle parked on the road by a small margin,
instead of using the ChangeLane

I recorded the lane position of on-road parking so that the subsequent moto
can avoid the on-road parking laterally a few meters ago

Using Traci's moveToXY (traci.vehicle.moveToXY(veh, edge, lane, x, y + 2,
angle=tc.INVALID_DOUBLE_VALUE,keepRoute=2), it can be seen in the simulator
that moto has avoided, but the next second shows that a collision has
occurred

How can I  solve this problem?

Many thanks,
Yun
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to