autotest: neaten Copter Loiter test

This commit is contained in:
Peter Barker 2024-05-21 10:10:45 +10:00 committed by Peter Barker
parent f930ba788b
commit 37886b36e0

View File

@ -435,9 +435,6 @@ class AutoTestCopter(vehicle_test_suite.TestSuite):
self.context_push()
ex = None
try:
self.set_parameters({
"PLND_ENABLED": 1,
"PLND_TYPE": 4,
@ -467,16 +464,10 @@ class AutoTestCopter(vehicle_test_suite.TestSuite):
self.wait_waypoint(0, num_wp-1, timeout=500)
self.wait_disarmed()
except Exception as e:
self.print_exception_caught(e)
ex = e
self.context_pop()
self.reboot_sitl()
if ex is not None:
raise ex
# Tests all actions and logic behind the radio failsafe
def ThrottleFailsafe(self, side=60, timeout=360):
'''Test Throttle Failsafe'''