If wish to overtake on the same lane, you can either
- force the moto past the the car with moveToXY (or moveTo) by changing the
longitudinal coordinate along with the lateral coordinate)
- let the vehicle overtake automatically by using the sublane model (
https://sumo.dlr.de/docs/Simulation/SublaneModel.html#sublane-model)

regards,
Jakob

Am Mi., 22. Juli 2020 um 13:53 Uhr schrieb 謝昀宸 <[email protected]>:

> 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
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to