The following two animations show the sliding mode controller in action for a single lane change and double lane change manoeuver. The red curve is the output that we get from a trajectory planner, which here is treated as the ground truth trajectory to follow. The green curve is the output of the trajectory tracker (sliding mode controller). The dashed lines are the overshoot that we get from the rear wheels.
Single lane change
Double lane change
The implementation details are as follows -