RobotCasserole1736 / RobotCasserole2020

Software for Robot Casserole's 2020 FIRST Infinite Recharge competition season
MIT License
1 stars 0 forks source link

Add basic Pneumatics management class #23

Closed gerth2 closed 4 years ago

gerth2 commented 4 years ago

Add a class which does the following: 1) Init the compressor and turn it on by default 2) Read the system pressure (in PSI) from an analog sensor, and put it to the dashboard 3) Add logic to receive compressor start/stop signals from the driver, and command compressor start/stop logic - this is to allow the driver to manually force the compressor off if something goes wrong on the field. 4) Log signals pressure, compressor state command, and compressor current draw