Collision avoidance in transportation