moving teleop state variables to private members of the operatorControl() function