diff options
| author | Keith Packard <keithp@keithp.com> | 2014-04-30 22:11:39 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2014-04-30 22:11:39 -0700 |
| commit | fd406000659a11862e05c22dbb20cdb738f56b01 (patch) | |
| tree | d55b7b6622195a5ee7339c3ece9993acbe9b3982 /ao-tools/ao-telem/ao-telem.c | |
| parent | 2cf65d60e1c73dbff0badbe1ee6cb43d75bf803c (diff) | |
ao-telem: Dump orientation field from TeleMega sensor telemetry packet
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/ao-telem/ao-telem.c')
| -rw-r--r-- | ao-tools/ao-telem/ao-telem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ao-tools/ao-telem/ao-telem.c b/ao-tools/ao-telem/ao-telem.c index f1755b82..da873838 100644 --- a/ao-tools/ao-telem/ao-telem.c +++ b/ao-tools/ao-telem/ao-telem.c @@ -158,7 +158,8 @@ main (int argc, char **argv) printf ("\n"); break; case AO_TELEMETRY_MEGA_SENSOR: - printf ("accel %5d pres %9d temp %5d accel_x %5d accel_y %5d accel_z %5d gyro_x %5d gyro_y %5d gyro_z %5d mag_x %5d mag_y %5d mag_z %5d\n", + printf ("orient %3d accel %5d pres %9d temp %5d accel_x %5d accel_y %5d accel_z %5d gyro_x %5d gyro_y %5d gyro_z %5d mag_x %5d mag_y %5d mag_z %5d\n", + telem.mega_sensor.orient, telem.mega_sensor.accel, telem.mega_sensor.pres, telem.mega_sensor.temp, |
