Hi,
if you move the vehicles so close that their bounding rectangles
overlap, sumo will always detect a collision. The only way to prevent
this is currently to disable collision detection
https://sumo.dlr.de/docs/Simulation/Safety.html#collisions.

Best regards,
Michael


Am 14.07.20 um 06:24 schrieb 謝昀宸:
> 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
> 


Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to