From 6cec82573d2ed685e2a4a3084790bdd724d3a332 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E5=96=B5?= Date: Mon, 15 Jun 2026 15:32:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- infer_camera_modular.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infer_camera_modular.py b/infer_camera_modular.py index 6246f64..6f81b34 100644 --- a/infer_camera_modular.py +++ b/infer_camera_modular.py @@ -383,7 +383,7 @@ class UAVControlLoop: if self._do_arm(): armed = True else: - return + return False # ---- ④ 起飞到目标高度(如高度不足) ---- takeoff_alt = self.fc_cfg.get("takeoff_alt", 5.0)