Landing now disarms automatically.
This commit is contained in:
parent
2a8044c666
commit
0bf594483f
@ -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