Brian Silverman | 80fc94c | 2014-03-09 16:56:01 -0700 | [diff] [blame^] | 1 | #include "aos/common/logging/logging.h" |
2 | |||||
3 | #include "bbb/led.h" | ||||
4 | |||||
5 | #include "frc971/control_loops/claw/claw.q.h" | ||||
6 | |||||
7 | using ::frc971::control_loops::claw_queue_group; | ||||
8 | |||||
9 | int main() { | ||||
10 | ::bbb::LED claw_zeroed(3); | ||||
11 | |||||
12 | while (true) { | ||||
13 | CHECK(claw_queue_group.status.FetchNextBlocking()); | ||||
14 | claw_zeroed.Set(claw_queue_group.status->zeroed_for_auto); | ||||
15 | } | ||||
16 | } |