From 0a69ff2fd3dce07fee8bc52e3eb9f1ad1c85da75 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 bd58c97630..e8c836086f 100644 --- a/message_definitions/v1.0/common.xml +++ b/message_definitions/v1.0/common.xml @@ -1666,6 +1666,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. @@ -3366,6 +3372,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).