AutoTest: Rebase and carry across changes from autotest

This commit is contained in:
James O'Shannessy 2021-01-20 10:33:04 +11:00 committed by Peter Barker
parent 254c28f142
commit 6251b6eead
1 changed files with 5 additions and 3 deletions

View File

@ -1366,9 +1366,11 @@ class AutoTestCopter(AutoTest):
self.set_rc(2, 1100)
self.wait_distance(20)
# stop flying forward and start flying based on input:
self.set_rc(2, 1500)
self.set_rc(3, 1200)
# stop flying forward and start flying down:
self.set_rc_from_map({
2: 1500,
3: 1200,
})
# wait for fence to trigger
self.wait_mode('RTL', timeout=120)