Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- double output = m_rightStick.getY();
- if (topLimitSwitch.get() && output > 0)
- output = 0;
- if (botLimitSwitch.get() && output < 0)
- output = 0;
- lift.set(output*0.2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement