diff --git a/python/controller.py b/python/controller.py new file mode 100644 index 0000000..cd15780 --- /dev/null +++ b/python/controller.py @@ -0,0 +1,4 @@ +def choose_speed(distance): + if distance < 20: + return 0 + return 30