Skip to content
Snippets Groups Projects
Commit 0c3f43b2 authored by Randy Mackay's avatar Randy Mackay
Browse files

AutoTest: reduce copter throttle when in stabilize

Simulated copter is flying too high and causing the land to timeout
parent 3fd38edc
No related branches found
No related tags found
No related merge requests found
...@@ -160,7 +160,7 @@ def fly_square(mavproxy, mav, side=50, timeout=120): ...@@ -160,7 +160,7 @@ def fly_square(mavproxy, mav, side=50, timeout=120):
save_wp(mavproxy, mav) save_wp(mavproxy, mav)
# switch back to stabilize mode # switch back to stabilize mode
mavproxy.send('rc 3 1400\n') mavproxy.send('rc 3 1430\n')
mavproxy.send('switch 6\n') mavproxy.send('switch 6\n')
wait_mode(mav, 'STABILIZE') wait_mode(mav, 'STABILIZE')
...@@ -620,7 +620,7 @@ def fly_simple(mavproxy, mav, side=50, timeout=120): ...@@ -620,7 +620,7 @@ def fly_simple(mavproxy, mav, side=50, timeout=120):
# switch to stabilize mode # switch to stabilize mode
mavproxy.send('switch 6\n') mavproxy.send('switch 6\n')
wait_mode(mav, 'STABILIZE') wait_mode(mav, 'STABILIZE')
mavproxy.send('rc 3 1400\n') mavproxy.send('rc 3 1430\n')
# fly south 50m # fly south 50m
print("# Flying south %u meters" % side) print("# Flying south %u meters" % side)
...@@ -685,7 +685,7 @@ def fly_super_simple(mavproxy, mav, timeout=45): ...@@ -685,7 +685,7 @@ def fly_super_simple(mavproxy, mav, timeout=45):
# switch to stabilize mode # switch to stabilize mode
mavproxy.send('switch 6\n') mavproxy.send('switch 6\n')
wait_mode(mav, 'STABILIZE') wait_mode(mav, 'STABILIZE')
mavproxy.send('rc 3 1400\n') mavproxy.send('rc 3 1430\n')
# start copter yawing slowly # start copter yawing slowly
mavproxy.send('rc 4 1550\n') mavproxy.send('rc 4 1550\n')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment