altoslib: Fix labels in AltosIMU to match source data
[fw/altos] / altoslib / AltosFlightReader.java
index be103838a2ccd683df7dd48f47c1d9a91a142b9d..f252d60bdf600e701c62cf01a9af1a651eb24287 100644 (file)
@@ -3,7 +3,8 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -15,7 +16,7 @@
  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
  */
 
-package org.altusmetrum.altoslib_5;
+package org.altusmetrum.altoslib_11;
 
 import java.text.*;
 import java.io.*;
@@ -30,6 +31,8 @@ public abstract class AltosFlightReader {
 
        public abstract AltosState read() throws InterruptedException, ParseException, AltosCRCException, IOException;
 
+       public abstract AltosCalData cal_data();
+
        public abstract void close(boolean interrupted);
 
        public void set_frequency(double frequency) throws InterruptedException, TimeoutException { }
@@ -44,8 +47,6 @@ public abstract class AltosFlightReader {
 
        public void save_telemetry_rate() { }
 
-       public void update(AltosState state) throws InterruptedException { }
-
        public boolean supports_telemetry(int telemetry) { return false; }
 
        public boolean supports_telemetry_rate(int telemetry_rate) { return false; }