From c6bcfa5ede86a718105cc334099e4a6b028b08c3 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Wed, 31 Mar 2021 09:23:14 -0700 Subject: [PATCH] altoslib: Write IMU headers to CSV file when present The IMU data were being written, but somehow the header was not included. Signed-off-by: Keith Packard --- altoslib/AltosCSV.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/altoslib/AltosCSV.java b/altoslib/AltosCSV.java index 765eb445..16c57ec1 100644 --- a/altoslib/AltosCSV.java +++ b/altoslib/AltosCSV.java @@ -408,6 +408,10 @@ public class AltosCSV implements AltosWriter { out.printf(","); write_3d_accel_header(); } + if (has_imu) { + out.printf(","); + write_imu_header(); + } if (has_igniter) { out.printf(","); write_igniter_header(); -- 2.30.2