When the segment is empty, the direction of travel is reversed if trucks were waiting to enter the segment from the other end otherwise it is established by the first truck to arrive at the segment.
When the segment is empty,the direction of travel is reversed if trucks were waiting to enterthe segment from the other end otherwise it is established bythe first truck to arrive at the segment.