Skip to main content

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

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 謝昀宸 <sdfg014025xx@xxxxxxxxx>:
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
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top