FRC2706 / 2019-2706-Robot-Code

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

Generic command for controlling pneumatics #163

Closed KyleRAnderson closed 5 years ago

KyleRAnderson commented 5 years ago

Pneumatics already have a generic PneumaticPiston class for being controlled, and for the most part they use the same style subsystem methods for controlling them.

I found especially for the climber pneumatics that the commands I was writing were very repetitive.

I would like to see a generic command that other specific commands could inherit from for controlling pneumatics. This would also make code writing next year easier.

KyleRAnderson commented 5 years ago

This is pretty close to done. All that remains is final testing on a robot whose pneumatics work and to verify that PneumaticPiston works properly.