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/sim.c | |
parent | 1913a240aab3a2ad72d477aa6fff840afdcad7a3 (diff) |
implement direct control
Diffstat (limited to 'robot/sim.c')
-rw-r--r-- | robot/sim.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/robot/sim.c b/robot/sim.c index baf8a8a..ddc208a 100644 --- a/robot/sim.c +++ b/robot/sim.c @@ -123,3 +123,6 @@ void w2_sim_print_serial(w2_s_bin *data) { printf("\n"); } +void set_motors(int left, int right) { + simprintfunc("set_motors", "%i, %i", left, right); +} |