autotest: install terrain handlers in TerrainLoiter test
needs terrain, was passing because previous tests were providing hte autopilot with the data
This commit is contained in:
parent
653aff7f8a
commit
e40ae8e649
@ -2924,6 +2924,7 @@ class AutoTestPlane(vehicle_test_suite.TestSuite):
|
||||
def TerrainLoiter(self):
|
||||
'''Test terrain following in loiter'''
|
||||
self.context_push()
|
||||
self.install_terrain_handlers_context()
|
||||
self.set_parameters({
|
||||
"TERRAIN_FOLLOW": 1, # enable terrain following in loiter
|
||||
"WP_LOITER_RAD": 2000, # set very large loiter rad to get some terrain changes
|
||||
|
Loading…
Reference in New Issue
Block a user