projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6be8a2
)
altoslib: Write IMU headers to CSV file when present
author
Keith Packard
<keithp@keithp.com>
Wed, 31 Mar 2021 16:23:14 +0000
(09:23 -0700)
committer
Keith Packard
<keithp@keithp.com>
Wed, 31 Mar 2021 16:23:14 +0000
(09:23 -0700)
The IMU data were being written, but somehow the header was not
included.
Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosCSV.java
patch
|
blob
|
history
diff --git
a/altoslib/AltosCSV.java
b/altoslib/AltosCSV.java
index 765eb44598f337b6fd9e58da4413c5346a021ebf..16c57ec187104e5f8449f3ba030d496f734bd894 100644
(file)
--- 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();