Tools: autotest fix for plane TestRCCamera

This commit is contained in:
Randy Mackay 2023-02-14 15:09:06 +09:00 committed by Andrew Tridgell
parent f7fe4f8856
commit c33de6c872
1 changed files with 1 additions and 0 deletions

View File

@ -938,6 +938,7 @@ class AutoTestPlane(AutoTest):
def TestRCCamera(self):
'''Test RC Option - Camera Trigger'''
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
x = self.mav.messages.get("CAMERA_FEEDBACK", None)