altoslib: Fix gyro headings in CSV files
authorKeith Packard <keithp@keithp.com>
Tue, 11 Sep 2018 07:06:05 +0000 (00:06 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 3 Oct 2018 21:51:56 +0000 (14:51 -0700)
Use yaw/pitch/roll instead of x/y/z

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

index 52af4d049b11c7bc17fd4b329ba69f69695698d7..a08db23e5e938f9ebe53d93925300f9cc2c2ebab 100644 (file)
@@ -209,7 +209,7 @@ public class AltosCSV implements AltosWriter {
        }
 
        void write_advanced_header() {
        }
 
        void write_advanced_header() {
-               out.printf("accel_x,accel_y,accel_z,gyro_x,gyro_y,gyro_z,mag_x,mag_y,mag_z,tilt");
+               out.printf("accel_x,accel_y,accel_z,gyro_roll,gyro_pitch,gyro_yaw,mag_x,mag_y,mag_z,tilt");
        }
 
        double accel_along() { return series.value(AltosFlightSeries.accel_along_name, indices); }
        }
 
        double accel_along() { return series.value(AltosFlightSeries.accel_along_name, indices); }