projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f5abe3b
)
altos: Hack to dump kalman values during idle mode
author
Keith Packard
<keithp@keithp.com>
Sun, 11 Oct 2020 05:00:56 +0000
(22:00 -0700)
committer
Keith Packard
<keithp@keithp.com>
Sun, 11 Oct 2020 05:00:56 +0000
(22:00 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_flight.c
patch
|
blob
|
history
diff --git
a/src/kernel/ao_flight.c
b/src/kernel/ao_flight.c
index 2142546c9b0737b186cca6f6dce65fa51c8e30ec..c55e55f67f1dbcd49144c67f461b24ffbd55140a 100644
(file)
--- a/
src/kernel/ao_flight.c
+++ b/
src/kernel/ao_flight.c
@@
-200,6
+200,11
@@
ao_flight(void)
ao_wakeup(&ao_flight_state);
break;
ao_wakeup(&ao_flight_state);
break;
+
+ case ao_flight_idle:
+ printf("accel %ld speed %ld\n", ao_accel, ao_speed);
+ break;
+
case ao_flight_pad:
/* pad to boost:
*
case ao_flight_pad:
/* pad to boost:
*