garykac / amhs-robotics-4681

Repository for AMHS's FRC (FIRST Robotics Competition) team
3 stars 0 forks source link

Sucker needs to extend to grab hatch #32

Closed garykac closed 5 years ago

garykac commented 5 years ago

(extracted from issue #31)

Code should be written but has not been tested

cmarley3-14 commented 5 years ago

https://github.com/garykac/amhs-robotics-4681/blob/c23548da530a701cca6068251ccac26d334a6a57/workspace/2019%20DeepSpace/src/main/java/frc/robot/Sucker.java#L24-L31

The suck function sucks and unsucks
The extend function extends and retracts

That's a confusing way to write it, but it works.