summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-11-10 14:41:17 -0800
committerKeith Packard <keithp@keithp.com>2014-11-10 14:41:17 -0800
commit4d4fee0b0091a1b6257a06f62b1078778cdb417f (patch)
treee317bebc8c8d6b046d637255c5b3607997639c2f
parent437eba2ff27b2b7dfd0f363819b9a43ab8b28ead (diff)
altoslib: Missing headers for mag sensor in CSV output
Kelsey Black <nmonic@gmail.com> reported that the TeleMega CSV output was missing the header labels for the mag sensor data. Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--altoslib/AltosCSV.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/altoslib/AltosCSV.java b/altoslib/AltosCSV.java
index 2357dbc7..2ad50097 100644
--- a/altoslib/AltosCSV.java
+++ b/altoslib/AltosCSV.java
@@ -158,7 +158,7 @@ public class AltosCSV implements AltosWriter {
}
void write_advanced_header() {
- out.printf("accel_x,accel_y,accel_z,gyro_x,gyro_y,gyro_z");
+ out.printf("accel_x,accel_y,accel_z,gyro_x,gyro_y,gyro_z,mag_x,mag_y,mag_z");
}
void write_advanced(AltosState state) {