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
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