aboutsummaryrefslogtreecommitdiff
path: root/robot/mode_dirc.c
blob: 86756f61e2650f2acdb012922039e1281090955f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "mode_dirc.h"
#include "../shared/util.h"
#include "hypervisor.h"
#include "io.h"
#include "modes.h"
#include "orangutan_shim.h"

#include "../shared/errcatch.h"
#include <string.h>

int16_t g_w2_mode_dirc_motor_l = 0;
int16_t g_w2_mode_dirc_motor_r = 0;

void w2_mode_dirc() { w2_set_motors(g_w2_mode_dirc_motor_l, g_w2_mode_dirc_motor_r); }