Robo4607 / Testing

Testing and learning central
0 stars 0 forks source link

Solenoids #10

Closed Penchant closed 8 years ago

Penchant commented 8 years ago

I have added the pneumatics subsystem which currently only has 2 solenoids. I have implemented a no longer needed function and command to test the first solenoid. After I did that I implemented a function to test any solenoid inputted and then made a command, UseASolenoid, to go with to allow it. The command has a sendableChooser in Robot.cpp that is then used in UseASolenoid that selects which solenoid to test.

An identical change should be done with motors to have a more concise project. This is also how we would implement multiple autonomous modes, not quite identical like with motors but very similar.