diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-05-26 15:34:58 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-05-26 15:34:58 +0200 |
commit | f073c9d3848dab915bed4844e9d13684aa5e23eb (patch) | |
tree | b98e96d8a3d56f2ba75189dbb65740e0091b6705 /robot/mode_dirc.c | |
parent | 1913a240aab3a2ad72d477aa6fff840afdcad7a3 (diff) |
implement direct control
Diffstat (limited to 'robot/mode_dirc.c')
-rw-r--r-- | robot/mode_dirc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/robot/mode_dirc.c b/robot/mode_dirc.c index 6c5d2bb..0bbf3cb 100644 --- a/robot/mode_dirc.c +++ b/robot/mode_dirc.c @@ -1,3 +1,7 @@ #include "mode_dirc.h" +#include "orangutan_shim.h" -void w2_mode_dirc() {} +int16_t g_w2_mode_dirc_motor_l = 0; +int16_t g_w2_mode_dirc_motor_r = 0; + +void w2_mode_dirc() { set_motors(g_w2_mode_dirc_motor_l, g_w2_mode_dirc_motor_r); } |