Robotics, Autonomous Vehicles.
minimum of these set of distances. The slope of the line from the front axle to the first point on the current trajectory segment is the yaw angle of cross track error. Depending on if this yaw angle is positive or negative we can change the sign of the cross track error. We need to do this due to