team116 / ed2017

1 stars 0 forks source link

Gear now uses pneumatics #21

Closed cartycrabber closed 7 years ago

cartycrabber commented 7 years ago

The design of the gear mechanism is now using pneumatics. There will be two double solenoids (pistons), one on each flap. They will retract to open the gear holder and they will extend to close the gear holder.

Add the two double solenoids to the Gear class. Then in the open function, retract both solenoids. Close function will extend them. You will probably have to do some stuff with the pneumatics control module (PCM), but not sure currently how that works. There should be a page on screenstepslive about using pneumatics, and there is also probably an example project you can open in eclipse. Also remember to use the WPILib C++ reference

littlegreenmermaid commented 7 years ago

done. no more limit switches. #21