RobotCasserole1736 / RobotCasserole2015

Code for the 2015 Recycle Rush robot for team 1736
1 stars 1 forks source link

Pneumatic pressure return #17

Open gerth2 opened 9 years ago

gerth2 commented 9 years ago

Read the Pneumatic pressure sensor voltage (on Analog 2) Talk to Dustin to get the voltage-to-pressure relationship Convert the voltage to the pressure Compute the average of the current and last 20 pressure values Return the average value to the driver via the SmartDashboard