小更改

This commit is contained in:
2026-06-15 15:30:39 +08:00
parent df8ad952cc
commit 2cec7348ea
+1 -1
View File
@@ -383,7 +383,7 @@ class UAVControlLoop:
if self._do_arm():
armed = True
else:
return False
return
# ---- ④ 起飞到目标高度(如高度不足) ----
takeoff_alt = self.fc_cfg.get("takeoff_alt", 5.0)