I want to let moto avoid vehicle which parked on the road instead of using
the ChangeLane(When the simulation of avoid parking vehicle, it is possible
that moto and parking to be on the same lane)

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

I also try to move the x coordinate by a few meters, the collision still
occur.
However, there should be no collision when querying the trajectory data on
the fcd-output file

Can I  avoid this type of collision?

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