mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
autotest: fixed MAV_CMD_GUIDED_CHANGE_ALTITUDE
need terrain handlers installed to support terrain targets
This commit is contained in:
parent
068124358f
commit
6bf69eb7dc
@ -5533,6 +5533,7 @@ class AutoTestPlane(vehicle_test_suite.TestSuite):
|
|||||||
|
|
||||||
def MAV_CMD_GUIDED_CHANGE_ALTITUDE(self):
|
def MAV_CMD_GUIDED_CHANGE_ALTITUDE(self):
|
||||||
'''test handling of MAV_CMD_GUIDED_CHANGE_ALTITUDE'''
|
'''test handling of MAV_CMD_GUIDED_CHANGE_ALTITUDE'''
|
||||||
|
self.install_terrain_handlers_context()
|
||||||
self.start_subtest("set home relative altitude")
|
self.start_subtest("set home relative altitude")
|
||||||
self.takeoff(30, relative=True)
|
self.takeoff(30, relative=True)
|
||||||
self.change_mode('GUIDED')
|
self.change_mode('GUIDED')
|
||||||
|
Loading…
Reference in New Issue
Block a user