summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-06-02 19:06:08 -0700
committerKeith Packard <keithp@keithp.com>2012-06-02 19:06:08 -0700
commitc9e52287751867d9e451146ccde78109609d30d7 (patch)
tree96b88ee612f12682fef63ce12d10aa52e9edb61a
parent9aa7993ee31bdfd6890ad7262a0375c07464ee76 (diff)
altosui: Fixed width format for new IMU values.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--altosui/AltosCSV.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/altosui/AltosCSV.java b/altosui/AltosCSV.java
index b88bedba..db398a61 100644
--- a/altosui/AltosCSV.java
+++ b/altosui/AltosCSV.java
@@ -152,7 +152,7 @@ public class AltosCSV implements AltosWriter {
imu = new AltosIMU();
if (mag == null)
mag = new AltosMag();
- out.printf("%d,%d,%d,%d,%d,%d,%d,%d,%d",
+ out.printf("%6d,%6d,%6d,%6d,%6d,%6d,%6d,%6d,%6d",
imu.accel_x, imu.accel_y, imu.accel_z,
imu.gyro_x, imu.gyro_y, imu.gyro_z,
mag.x, mag.y, mag.z);