Issue #33: Rename Walker Front/Back Legs
Renaming wasn't necessary. We just had to switch front and back in our climb functions, and we'll need to make sure that our constants file matches the hardware. I.e., check the tubing for front and back, and make sure our initialization port is correct.
Issue #34: Remove Right Grabber
Done in Constants.java and Grabber.java. Should be no errors upon building.
Issue #36: Switch for Bottom of Lifter
Stephen's code for the switch was finalized. WARNING: Test with a finger before slamming our heavy grabber on the fragile switch.
Question: Did we test the laser sensor on the non-competition robot to see if it still worked before directly installing it?
Other changes made:
The two functions that gave us distance in Lifter have been combined into a single function, which now returns it. The changes were adapted in Robot.java.
In Walker, added a StraightenLegs() function which is used in Robot.java for climbing and restarting climb. Also removed int progress and boolean completed because we aren't using a single Climb() function. Issue #24 should discuss this already.
Issue #32: Sucker extends to grab hatch Issue #37: Update X and Y buttons for
GrabberSucker https://github.com/garykac/amhs-robotics-4681/blob/5d2e7ea2e89d7f81aecccb06fe9dcc977d786f88/workspace/2019%20DeepSpace/src/main/java/frc/robot/Robot.java#L195-L200 https://github.com/garykac/amhs-robotics-4681/blob/5d2e7ea2e89d7f81aecccb06fe9dcc977d786f88/workspace/2019%20DeepSpace/src/main/java/frc/robot/Sucker.java#L20-L31 Pressing X switches between sucking and not sucking modes.Pressing Y switches between an extended sucker and a retracted sucker.
Issue #33: Rename Walker Front/Back Legs Renaming wasn't necessary. We just had to switch front and back in our climb functions, and we'll need to make sure that our constants file matches the hardware. I.e., check the tubing for front and back, and make sure our initialization port is correct.
Issue #34: Remove Right Grabber Done in
Constants.java
andGrabber.java
. Should be no errors upon building.Issue #36: Switch for Bottom of Lifter Stephen's code for the switch was finalized.
WARNING: Test with a finger before slamming our heavy grabber on the fragile switch.
Question: Did we test the laser sensor on the non-competition robot to see if it still worked before directly installing it?
Other changes made: The two functions that gave us distance in Lifter have been combined into a single function, which now returns it. The changes were adapted in Robot.java.
In Walker, added a
StraightenLegs()
function which is used in Robot.java for climbing and restarting climb. Also removedint progress
andboolean completed
because we aren't using a singleClimb()
function. Issue #24 should discuss this already.https://github.com/garykac/amhs-robotics-4681/blob/5d2e7ea2e89d7f81aecccb06fe9dcc977d786f88/workspace/2019%20DeepSpace/src/main/java/frc/robot/Robot.java#L187-L193 https://github.com/garykac/amhs-robotics-4681/blob/5d2e7ea2e89d7f81aecccb06fe9dcc977d786f88/workspace/2019%20DeepSpace/src/main/java/frc/robot/Grabber.java#L28-L42 Holding (not pressing) A will grab, while holding B will eject. Not holding either will stop the grabber intake motors.