From a4a1cbc04abe0ad91018ebd673b69a935a65cca4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E5=96=B5?= Date: Wed, 17 Jun 2026 11:42:52 +0800 Subject: [PATCH] =?UTF-8?q?2026.6.17=E5=B0=8F=E6=9B=B4=E6=96=B0=E4=BF=AE?= =?UTF-8?q?=E6=94=B9json=E5=86=85=E5=AE=B9=E9=94=99=E8=AF=AF?= 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 757c15f..b344add 100644 --- a/infer_camera_modular.py +++ b/infer_camera_modular.py @@ -395,7 +395,7 @@ class UAVControlLoop: ok, ack = self.proxy.send_waypoint( lat = state["home"]["lat"], lon = state["home"]["lon"], - alt = state["home"]["alt_msl"], + alt = takeoff_alt, alt_frame="RELATIVE", speed=3.0,action="TAKEOFF", hover_time=5.0,yaw=state["drone"]["yaw"],