altos: Dump more values in idle/invalid mode
authorKeith Packard <keithp@keithp.com>
Sun, 11 Oct 2020 05:17:00 +0000 (22:17 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 11 Oct 2020 05:17:00 +0000 (22:17 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_flight.c

index 98a4b75faae1318ab6698847d7668c2bd8e5500a..4ffbcf4b43715d2b732898cc94b4f94732819298 100644 (file)
@@ -203,7 +203,7 @@ ao_flight(void)
 
                case ao_flight_idle:
                case ao_flight_invalid:
-                       printf("accel %ld speed %ld\n", ao_accel, ao_speed);
+                       printf("+g %d ga %d sa %d accel %ld speed %ld\n", ao_config.accel_plus_g, ao_ground_accel, ao_sample_accel, ao_accel, ao_speed);
                        break;
 
                case ao_flight_pad: