altoslib: use motor pressure calibration data for EasyMotor
[fw/altos] / altoslib / AltosCalData.java
index 832725defb842fd39d05efeaac980abc4bba52ed..8bca92291757a42c695985c23bb5337334c9b4e4 100644 (file)
@@ -120,6 +120,13 @@ public class AltosCalData {
                        this.ground_accel = ground_accel;
        }
 
+       public double           ground_motor_pressure = AltosLib.MISSING;
+
+       public void set_ground_motor_pressure(double ground_motor_pressure) {
+               if (ground_motor_pressure != AltosLib.MISSING)
+                       this.ground_motor_pressure = ground_motor_pressure;
+       }
+
        /* Raw acceleration value */
        public double           accel = AltosLib.MISSING;