mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Autotest: activate the fence via a mavlink command
This should not be required in the future, please fix this and revert this commit
This commit is contained in:
parent
92122e5133
commit
528defd560
@ -1352,6 +1352,17 @@ class AutoTestCopter(AutoTest):
|
||||
|
||||
self.change_alt(50)
|
||||
|
||||
# Activate the floor fence
|
||||
# TODO this test should run without requiring this
|
||||
self.run_cmd(mavutil.mavlink.MAV_CMD_DO_FENCE_ENABLE,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0)
|
||||
|
||||
# first east
|
||||
self.progress("turn east")
|
||||
self.set_rc(4, 1580)
|
||||
|
Loading…
Reference in New Issue
Block a user