mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
Tools: autotest fix for plane TestRCCamera
This commit is contained in:
parent
f7fe4f8856
commit
c33de6c872
@ -938,6 +938,7 @@ class AutoTestPlane(AutoTest):
|
|||||||
def TestRCCamera(self):
|
def TestRCCamera(self):
|
||||||
'''Test RC Option - Camera Trigger'''
|
'''Test RC Option - Camera Trigger'''
|
||||||
self.set_parameter("RC12_OPTION", 9) # CameraTrigger
|
self.set_parameter("RC12_OPTION", 9) # CameraTrigger
|
||||||
|
self.set_parameter("CAM1_TYPE", 1) # Camera with servo trigger
|
||||||
self.reboot_sitl() # needed for RC12_OPTION to take effect
|
self.reboot_sitl() # needed for RC12_OPTION to take effect
|
||||||
|
|
||||||
x = self.mav.messages.get("CAMERA_FEEDBACK", None)
|
x = self.mav.messages.get("CAMERA_FEEDBACK", None)
|
||||||
|
Loading…
Reference in New Issue
Block a user