summaryrefslogtreecommitdiff
path: root/ao-tools/altosui/AltosCSV.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-09-19 02:52:29 -0700
committerKeith Packard <keithp@keithp.com>2010-09-19 02:52:29 -0700
commit1260589976c1a95848b298497fd251c4ee7d3f93 (patch)
treeaea8dc7f78e9580147d3f4c5459d9b54bc7d7028 /ao-tools/altosui/AltosCSV.java
parent7a4d7110debb88f4e906fee7c46f2badd561809d (diff)
altosui: Write raw sensor data to .csv files
For data export, provide the raw sensor samples instead of the filtered values. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/altosui/AltosCSV.java')
-rw-r--r--ao-tools/altosui/AltosCSV.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/ao-tools/altosui/AltosCSV.java b/ao-tools/altosui/AltosCSV.java
index 07fa371f..f7b3c03c 100644
--- a/ao-tools/altosui/AltosCSV.java
+++ b/ao-tools/altosui/AltosCSV.java
@@ -111,9 +111,9 @@ public class AltosCSV {
void write_basic(AltosRecord record) {
out.printf("%8.2f,%10.2f,%8.2f,%8.2f,%8.2f,%8.2f,%5.1f,%5.2f,%5.2f,%5.2f",
record.acceleration(),
- record.pressure(),
- record.altitude(),
- record.height(),
+ record.raw_pressure(),
+ record.raw_altitude(),
+ record.raw_height(),
record.accel_speed(),
state.baro_speed,
record.temperature(),