mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-15 21:05:40 +08:00
autotest: wait for VFR_HUD to be non-zero on startup
This commit is contained in:
1 parent
0f0cbce22f
commit
70669434a2
1 file changed
+1
@@ -293,6 +293,7 @@ def fly_ArduPlane(viewerip=None):
|
||||
print("Setting up RC parameters")
|
||||
setup_rc(mavproxy)
|
||||
print("Waiting for GPS fix")
|
||||
mav.recv_match(condition='VFR_HUD.alt>0', blocking=True)
|
||||
mav.wait_gps_fix()
|
||||
homeloc = mav.location()
|
||||
print("Home location: %s" % homeloc)
|
||||
|
||||
Reference in new issue
Block a user