Skip to content

Commit

Permalink
autotest: install terrain handlers in TerrainLoiter test
Browse files Browse the repository at this point in the history
needs terrain, was passing because previous tests were providing hte autopilot with the data
  • Loading branch information
peterbarker committed Oct 2, 2024
1 parent 653aff7 commit e40ae8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tools/autotest/arduplane.py
Original file line number Diff line number Diff line change
Expand Up @@ -2924,6 +2924,7 @@ def Terrain(self):
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
Expand Down

0 comments on commit e40ae8e

Please sign in to comment.