Advertisement
Guest User

Untitled

a guest
Feb 17th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. double output = m_rightStick.getY();
  2. if (topLimitSwitch.get() && output > 0)
  3. output = 0;
  4. if (botLimitSwitch.get() && output < 0)
  5. output = 0;
  6. lift.set(output*0.2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement