Landing now disarms automatically.

This commit is contained in:
Jason Short 2012-01-28 22:52:17 -08:00
parent 67cd412105
commit 973b0b72c5

View File

@ -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