From 7d5c33991749d7398d3538efece3667a3ea0fe48 Mon Sep 17 00:00:00 2001 From: elias Date: Thu, 3 Apr 2025 12:33:53 +0200 Subject: [PATCH] timeout fix --- controller/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/main.py b/controller/main.py index 4c9bae8..3395fe8 100644 --- a/controller/main.py +++ b/controller/main.py @@ -226,7 +226,7 @@ class RobomasterUI: def main(): ip_address = "192.168.2.1" try: - cmd = rm.Commander(ip=ip_address, timeout=5) + cmd = rm.Commander(ip=ip_address, timeout=20) print(f"Connected to Robomaster. Version: {cmd.version()}") root = tk.Tk() root.resizable(False, False)