From: Keith Packard Date: Sun, 9 Apr 2023 23:44:04 +0000 (-0700) Subject: altos: Dump GPS dop/course data from 'g' command X-Git-Tag: 1.9.16~1^2~6^2~6 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=957768164e71249c4d9cf4afe29d34dea395b68a altos: Dump GPS dop/course data from 'g' command This lets monitor idle show more of the GPS status Signed-off-by: Keith Packard --- diff --git a/src/kernel/ao_gps_show.c b/src/kernel/ao_gps_show.c index ab29e5e5..c1d5e9bf 100644 --- a/src/kernel/ao_gps_show.c +++ b/src/kernel/ao_gps_show.c @@ -35,6 +35,9 @@ ao_gps_show(void) #else printf ("Alt: %d\n", AO_TELEMETRY_LOCATION_ALTITUDE(&ao_gps_data)); #endif + printf ("Pdop/Hdop/Vdop: %u %u %u\n", ao_gps_data.pdop, ao_gps_data.hdop, ao_gps_data.vdop); + printf ("Ground Speed/Climb Rate/Course: %u %d %u\n", ao_gps_data.ground_speed, + ao_gps_data.climb_rate, ao_gps_data.course); printf ("Flags: 0x%x\n", ao_gps_data.flags); printf ("Sats: %d", ao_gps_tracking_data.channels); for (i = 0; i < ao_gps_tracking_data.channels; i++)