diff options
author | Keith Packard <keithp@keithp.com> | 2017-09-26 18:00:36 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-09-26 18:00:36 -0700 |
commit | cfc09e8f1f263595972cbb6af23f22e2d749c744 (patch) | |
tree | 76fe95e1ec9bced22460c4ad261678413ae97016 /altoslib/AltosFlightSeries.java | |
parent | df39a30c762d57c7d04110e054f74d50fa8d85de (diff) |
altoslib: Add tilt and pyro data to CSV export
It's now version 6. Also removed duplicate time values and made radio
values conditional on having radio data.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosFlightSeries.java')
-rw-r--r-- | altoslib/AltosFlightSeries.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/altoslib/AltosFlightSeries.java b/altoslib/AltosFlightSeries.java index 57f1a491..df575189 100644 --- a/altoslib/AltosFlightSeries.java +++ b/altoslib/AltosFlightSeries.java @@ -643,7 +643,7 @@ public class AltosFlightSeries extends AltosDataListener { public void set_igniter_voltage(double[] voltage) { int channels = voltage.length; if (igniter_voltage == null || igniter_voltage.length <= channels) { - AltosTimeSeries[] new_igniter_voltage = new AltosTimeSeries[channels + 1]; + AltosTimeSeries[] new_igniter_voltage = new AltosTimeSeries[channels]; int i = 0; if (igniter_voltage != null) { |