From 1e04d8b8634dafc8c9a2496c6922e0749e00c009 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Sat, 16 Mar 2024 12:19:36 +0900 Subject: [PATCH] common: add MAV_CMD_SET_CAMERA_SOURCE --- message_definitions/v1.0/common.xml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/message_definitions/v1.0/common.xml b/message_definitions/v1.0/common.xml index 75332538a2..1486f01cb3 100644 --- a/message_definitions/v1.0/common.xml +++ b/message_definitions/v1.0/common.xml @@ -1681,6 +1681,12 @@ Storage ID (1 for first, 2 for second, etc.) Usage flags + + Set camera source. Changes the camera's active sources on cameras with multiple image sensors. + Component Id of camera to address or 1-6 for non-MAVLink cameras, 0 for all cameras. + Primary Source + Secondary Source. If non-zero the second source will be displayed as picture-in-picture. + Tagged jump target. Can be jumped to with MAV_CMD_DO_JUMP_TAG. Tag. @@ -3381,6 +3387,21 @@ Continuous auto focus. Mainly used for dynamic scenes. Abbreviated as AF-C. + + Camera sources for MAV_CMD_SET_CAMERA_SOURCE + + Default camera source. + + + RGB camera source. + + + IR camera source. + + + NDVI camera source. + + Result from PARAM_EXT_SET message (or a PARAM_SET within a transaction).