mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
autotest: tweak beacon test to be replay-friendly
This commit is contained in:
parent
498b0b79a3
commit
211cd5255d
@ -4967,8 +4967,8 @@ class AutoTestCopter(AutoTest):
|
||||
self.set_parameter("EK3_SRC1_VELXY", 0) # None
|
||||
self.set_parameter("EK3_SRC1_VELZ", 0) # None
|
||||
self.set_parameter("EK2_ENABLE", 0)
|
||||
self.reboot_sitl()
|
||||
self.set_parameter("AHRS_EKF_TYPE", 3)
|
||||
self.reboot_sitl()
|
||||
|
||||
# turn off GPS arming checks. This may be considered a
|
||||
# bug that we need to do this.
|
||||
@ -5023,9 +5023,10 @@ class AutoTestCopter(AutoTest):
|
||||
self.progress("Caught exception: %s" %
|
||||
self.get_exception_stacktrace(e))
|
||||
ex = e
|
||||
self.context_pop()
|
||||
self.disarm_vehicle(force=True)
|
||||
self.reboot_sitl()
|
||||
self.context_pop()
|
||||
self.reboot_sitl()
|
||||
if ex is not None:
|
||||
raise ex
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user