blob: 53c497433fc95f1515a83b83d481674ed2b92b00 [file] [log] [blame]
Brian Silverman80fc94c2014-03-09 16:56:01 -07001#include "aos/common/logging/logging.h"
Brian Silverman5a8039b2014-03-09 17:07:26 -07002#include "aos/linux_code/init.h"
Brian Silverman80fc94c2014-03-09 16:56:01 -07003
4#include "bbb/led.h"
5
6#include "frc971/control_loops/claw/claw.q.h"
7
8using ::frc971::control_loops::claw_queue_group;
9
10int main() {
Brian Silverman5a8039b2014-03-09 17:07:26 -070011 ::aos::InitNRT();
12
Brian Silverman80fc94c2014-03-09 16:56:01 -070013 ::bbb::LED claw_zeroed(3);
14
15 while (true) {
Brian Silverman428de562014-04-10 15:59:19 -070016 claw_queue_group.status.FetchNextBlocking();
Brian Silverman80fc94c2014-03-09 16:56:01 -070017 claw_zeroed.Set(claw_queue_group.status->zeroed_for_auto);
18 }
19}