summaryrefslogtreecommitdiff
path: root/robot/sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'robot/sim.c')
-rw-r--r--robot/sim.c3
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);
+}