altoslib: Compute tilt angle from eeprom data
authorKeith Packard <keithp@keithp.com>
Sat, 4 Oct 2014 07:11:13 +0000 (00:11 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 4 Oct 2014 07:11:13 +0000 (00:11 -0700)
commit00ae706dab6e8fddef4c5730a17c433a022228b7
treefae976ad891d1776f6e52c078d9eceb35d96a845
parenta757fd5af53f5721a949181372548afa4757d6c9
altoslib: Compute tilt angle from eeprom data

This copies the computation of tilt angle from the firmware so that
post-flight analysis can also show the data.

This change also renames all of the imu values to make them easier to
understand:

accel gyro axis

along roll length of the board
across pitch across the board
through yaw through the board.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 files changed:
altoslib/AltosCSV.java
altoslib/AltosConfigData.java
altoslib/AltosEepromHeader.java
altoslib/AltosEepromMega.java
altoslib/AltosIMU.java
altoslib/AltosLib.java
altoslib/AltosMag.java
altoslib/AltosQuaternion.java [new file with mode: 0644]
altoslib/AltosRotation.java [new file with mode: 0644]
altoslib/AltosState.java
altoslib/AltosTelemetryMegaSensor.java
altoslib/Makefile.am
altosuilib/AltosGraph.java
altosuilib/AltosGraphDataPoint.java