telem.location.ground_speed / 100.0,
telem.location.climb_rate / 100.0,
telem.location.course * 2);
+ if ((telem.location.state & AO_GPS_STATE_VALID))
+ printf (" state %1d", telem.location.state & ~(AO_GPS_STATE_VALID));
printf ("\n");
break;
case AO_TELEMETRY_SATELLITE:
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,