Ref line follower code. Could someone please explain the reason why the driver station switches (2) are read into the Autonomous Independent vi then changed to cases Left,Right, Straight inside the while loop? Is this for adjusting the direction at the competition with your alliance?

BTW where are the Driver station switches?