altoslib: Adapt to Mag sensor value ordering changes
authorKeith Packard <keithp@keithp.com>
Mon, 12 Jun 2017 05:39:53 +0000 (22:39 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 12 Jun 2017 05:54:22 +0000 (22:54 -0700)
commit8da38e5217f366a7da24a8af4a5ca620fad35df3
treea79cbd0310faf9c49e43bb7b32b8a4c64e0a415a
parent2a05849c3bf8c1617409237be48802dd6fc6255b
altoslib: Adapt to Mag sensor value ordering changes

The HMC5883 sensor data is ordered x, z, y. Relabel everything to
match that to preserve compatibility with existing firmware. With the
data correctly ordered, fix the labling of the axes along, across and
through.

Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosEepromRecordMega.java
altoslib/AltosMag.java
altoslib/AltosTelemetryMegaSensor.java