FRC2706 / 2019-2706-Robot-Code

The main robot code for the FIRST 2019 challenge: Deep Space
MIT License
2 stars 0 forks source link

Setpoints do nothing when the lift is on the limit switch #103

Closed KyleRAnderson closed 5 years ago

KyleRAnderson commented 5 years ago

Currently, the setpoints don't move the robot if the robot is on the limit switch. Often after going down we would want to go up to a setpoint and moving the lift manually slightly up is not as fast.

If we can't find a solution to this problem, there are a couple of workarounds we could try:

  1. Move the lift slightly up automatically and then go to the setpoint (less good).
  2. Temporarily disable the limit switch only if going up and at height of 0.
KyleRAnderson commented 5 years ago

Resolved this by temporarily disabling limit switch when going up on setpoints and at zero position.