Browse Source

Autotest: activate the fence via a mavlink command

This should not be required in the future, please fix this and revert this commit
zr-v5.1
Dr.-Ing. Amilcar do Carmo Lucas 4 years ago committed by Peter Barker
parent
commit
528defd560
  1. 11
      Tools/autotest/arducopter.py

11
Tools/autotest/arducopter.py

@ -1352,6 +1352,17 @@ class AutoTestCopter(AutoTest): @@ -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…
Cancel
Save