summaryrefslogtreecommitdiff
path: root/robot/mode_dirc.h
diff options
context:
space:
mode:
Diffstat (limited to 'robot/mode_dirc.h')
-rw-r--r--robot/mode_dirc.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/robot/mode_dirc.h b/robot/mode_dirc.h
new file mode 100644
index 0000000..5b9bbf4
--- /dev/null
+++ b/robot/mode_dirc.h
@@ -0,0 +1,13 @@
+#pragma once
+
+#include <stdint.h>
+
+extern int16_t g_w2_mode_dirc_motor_l;
+extern int16_t g_w2_mode_dirc_motor_r;
+
+/**
+ * direct control mode
+ *
+ * respond to DIRC commands
+ */
+void w2_mode_dirc();