MSMHS-Robotics / FRC-2020

FRC 2020: Infinite Recharge Robot Software
1 stars 0 forks source link

Find deployed status of climber using Solenoid get() method #70

Closed jkleiber closed 4 years ago

jkleiber commented 4 years ago

Currently the isDeployed variable doesn't actually know if something is deployed or not. Instead we should set this variable to true if and only if the solenoids are in the right configuration

This can be done in periodic(). We can get the state of the two climber solenoids using climberPiston.get() and if they both match the deployed configuration then we can set isDeployed to true, else false.

jkleiber commented 4 years ago

Reduced priority because it works as-is and is not super important to fix yet

jkleiber commented 4 years ago

This issue will probably not be relevant after changes to the climber are considered. Closing as wontfix