mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
Landing now disarms automatically.
This commit is contained in:
parent
67cd412105
commit
973b0b72c5
@ -519,10 +519,10 @@ def fly_ArduCopter(viewerip=None):
|
||||
print("land failed")
|
||||
failed = True
|
||||
|
||||
print("# disarm motors")
|
||||
if not disarm_motors(mavproxy, mav):
|
||||
print("disarm_motors failed")
|
||||
failed = True
|
||||
#print("# disarm motors")
|
||||
#if not disarm_motors(mavproxy, mav):
|
||||
# print("disarm_motors failed")
|
||||
# failed = True
|
||||
except pexpect.TIMEOUT, e:
|
||||
failed = True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user