altoslib: Add AltosOrient class and max_orient()
[fw/altos] / altoslib / AltosState.java
index 6a5b2a46761b34aa00551d375ce177a1e508ccc3..134aeb4e34eaa3929a86b6e91cd49076a6b2aa95 100644 (file)
@@ -474,6 +474,10 @@ public class AltosState implements Cloneable {
                return orient.value();
        }
 
+       public double max_orient() {
+               return orient.max();
+       }
+
        public AltosValue       kalman_height, kalman_speed, kalman_acceleration;
 
        public void set_kalman(double height, double speed, double acceleration) {