mirror of https://github.com/ArduPilot/ardupilot
autotest: tracker; tidy GPSForYaw test
This commit is contained in:
parent
6dae760346
commit
d7bc9a420f
|
@ -177,8 +177,6 @@ class AutoTestTracker(vehicle_test_suite.TestSuite):
|
||||||
|
|
||||||
def GPSForYaw(self):
|
def GPSForYaw(self):
|
||||||
'''Moving baseline GPS yaw'''
|
'''Moving baseline GPS yaw'''
|
||||||
self.context_push()
|
|
||||||
|
|
||||||
self.load_default_params_file("tracker-gps-for-yaw.parm")
|
self.load_default_params_file("tracker-gps-for-yaw.parm")
|
||||||
self.reboot_sitl()
|
self.reboot_sitl()
|
||||||
|
|
||||||
|
@ -195,10 +193,6 @@ class AutoTestTracker(vehicle_test_suite.TestSuite):
|
||||||
raise NotAchievedException("GPS_RAW not tracking simstate yaw")
|
raise NotAchievedException("GPS_RAW not tracking simstate yaw")
|
||||||
self.progress(f"yaw match ({gps_raw_hdg} vs {sim_hdg}")
|
self.progress(f"yaw match ({gps_raw_hdg} vs {sim_hdg}")
|
||||||
|
|
||||||
self.context_pop()
|
|
||||||
|
|
||||||
self.reboot_sitl()
|
|
||||||
|
|
||||||
def tests(self):
|
def tests(self):
|
||||||
'''return list of all tests'''
|
'''return list of all tests'''
|
||||||
ret = super(AutoTestTracker, self).tests()
|
ret = super(AutoTestTracker, self).tests()
|
||||||
|
|
Loading…
Reference in New Issue