AutoTest: reduce copter throttle when in stabilize
Simulated copter is flying too high and causing the land to timeout
This commit is contained in:
parent
3fd38edc4a
commit
0c3f43b2d7
@ -160,7 +160,7 @@ def fly_square(mavproxy, mav, side=50, timeout=120):
|
||||
save_wp(mavproxy, mav)
|
||||
|
||||
# switch back to stabilize mode
|
||||
mavproxy.send('rc 3 1400\n')
|
||||
mavproxy.send('rc 3 1430\n')
|
||||
mavproxy.send('switch 6\n')
|
||||
wait_mode(mav, 'STABILIZE')
|
||||
|
||||
@ -620,7 +620,7 @@ def fly_simple(mavproxy, mav, side=50, timeout=120):
|
||||
# switch to stabilize mode
|
||||
mavproxy.send('switch 6\n')
|
||||
wait_mode(mav, 'STABILIZE')
|
||||
mavproxy.send('rc 3 1400\n')
|
||||
mavproxy.send('rc 3 1430\n')
|
||||
|
||||
# fly south 50m
|
||||
print("# Flying south %u meters" % side)
|
||||
@ -685,7 +685,7 @@ def fly_super_simple(mavproxy, mav, timeout=45):
|
||||
# switch to stabilize mode
|
||||
mavproxy.send('switch 6\n')
|
||||
wait_mode(mav, 'STABILIZE')
|
||||
mavproxy.send('rc 3 1400\n')
|
||||
mavproxy.send('rc 3 1430\n')
|
||||
|
||||
# start copter yawing slowly
|
||||
mavproxy.send('rc 4 1550\n')
|
||||
|
Loading…
Reference in New Issue
Block a user