mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 18:38:28 -04:00
autotest: added idle hooks for ArduPlane testing too
This commit is contained in:
parent
ab3e933f11
commit
7214e2ec06
@ -286,6 +286,7 @@ def fly_ArduPlane(viewerip=None):
|
|||||||
print("Failed to start mavlink connection on 127.0.0.1:19550" % msg)
|
print("Failed to start mavlink connection on 127.0.0.1:19550" % msg)
|
||||||
raise
|
raise
|
||||||
mav.message_hooks.append(message_hook)
|
mav.message_hooks.append(message_hook)
|
||||||
|
mav.idle_hooks.append(idle_hook)
|
||||||
|
|
||||||
failed = False
|
failed = False
|
||||||
e = 'None'
|
e = 'None'
|
||||||
|
Loading…
Reference in New Issue
Block a user