projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aa7993
)
altosui: Fixed width format for new IMU values.
author
Keith Packard
<keithp@keithp.com>
Sun, 3 Jun 2012 02:06:08 +0000
(19:06 -0700)
committer
Keith Packard
<keithp@keithp.com>
Sun, 3 Jun 2012 02:06:08 +0000
(19:06 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosCSV.java
patch
|
blob
|
history
diff --git
a/altosui/AltosCSV.java
b/altosui/AltosCSV.java
index b88bedba2f512e60532acafaa7cc7d0248135e43..db398a6157519589f32d062d73e82a4308281802 100644
(file)
--- 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,%6
d",
imu.accel_x, imu.accel_y, imu.accel_z,
imu.gyro_x, imu.gyro_y, imu.gyro_z,
mag.x, mag.y, mag.z);