Skip to content

Commit

Permalink
autotest: fixed MAV_CMD_GUIDED_CHANGE_ALTITUDE
Browse files Browse the repository at this point in the history
need terrain handlers installed to support terrain targets
  • Loading branch information
tridge committed Sep 29, 2024
1 parent 1feba4e commit f88af49
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 @@ -5533,6 +5533,7 @@ def RunMissionScript(self):

def MAV_CMD_GUIDED_CHANGE_ALTITUDE(self):
'''test handling of MAV_CMD_GUIDED_CHANGE_ALTITUDE'''
self.install_terrain_handlers_context()
self.start_subtest("set home relative altitude")
self.takeoff(30, relative=True)
self.change_mode('GUIDED')
Expand Down

0 comments on commit f88af49

Please sign in to comment.