Switches commands for moving pneumatics to a general command to make things easier.
Pneumatics on the subsystem side are controlled using a general class PneumaticPiston which allows for the same functionality as DoubleSolenoid but with the addition of keeping track of state and setting the piston to a new state rather than a value.
Updated id values for the arms forward and reverse since the whole year we had it reversed a little bit.
Testing Performed
Environment: Practice bot (and competition bot for some things too, during competition).
Tested moving all the mechanisms using the Pneumatic Piston class and the new pneumatic controllers, and everything performed consistently and nicely.
Closes #163.
Summary of Changes
PneumaticPiston
which allows for the same functionality asDoubleSolenoid
but with the addition of keeping track of state and setting the piston to a new state rather than a value.Testing Performed
Environment: Practice bot (and competition bot for some things too, during competition). Tested moving all the mechanisms using the Pneumatic Piston class and the new pneumatic controllers, and everything performed consistently and nicely.