From 417b238f29060abda5341e411f30c247bfd8de85 Mon Sep 17 00:00:00 2001 From: xingchen <1098756313@qq.com> Date: Fri, 25 Sep 2026 11:05:34 +0800 Subject: [PATCH] test: add python/controller.py source fixture --- python/controller.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 python/controller.py 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