Add wpilib support for vacuum pump and sensor
Change-Id: Ie95647a8534b30558b89c03a4f4fc1019b0b5b40
diff --git a/y2019/control_loops/superstructure/superstructure.q b/y2019/control_loops/superstructure/superstructure.q
index a71f81a..4176057 100644
--- a/y2019/control_loops/superstructure/superstructure.q
+++ b/y2019/control_loops/superstructure/superstructure.q
@@ -53,9 +53,9 @@
};
message Position {
- // Input from pressure sensor in psi
- // 0 = current atmospheric pressure, negative = suction.
- double suction_pressure;
+ // Input from pressure sensor in bar
+ // 1 = 1 atm, 0 = full vacuum
+ float suction_pressure;
// Position of the elevator, 0 at lowest position, positive when up.
.frc971.PotAndAbsolutePosition elevator;