diff options
| author | Keith Packard <keithp@keithp.com> | 2013-12-28 10:13:05 -0800 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2013-12-28 10:13:05 -0800 | 
| commit | 053d092b3dca4ebb98e97ec0fe24f5f5e1c31f88 (patch) | |
| tree | ff6f621c82b90c924f661a10a4a7924d3ed7ebf4 /altoslib/AltosState.java | |
| parent | 081455dcba860f3e4df8cd66f3fe686b204034ad (diff) | |
altoslib: Add AltosOrient class and max_orient()
This adds the class necessary to put orient into a UI.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosState.java')
| -rw-r--r-- | altoslib/AltosState.java | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/altoslib/AltosState.java b/altoslib/AltosState.java index 6a5b2a46..134aeb4e 100644 --- a/altoslib/AltosState.java +++ b/altoslib/AltosState.java @@ -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) { | 
