Skip to content

Commit dcbd861

Browse files
authored
camera_def: add note about CAM_MODE param (#224)
1 parent 49e90dd commit dcbd861

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

en/services/camera_def.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,16 @@ All fields are self explanatory:
3232

3333
### Parameters
3434

35-
An extended set of parameter messages is used to define settings and options. These minimally have a parameter name, type and default value (types can be predefined or arbitrary - though arbitrary types are only supported by custom camera controllers). They will also have a description that is displayed to the user and the set of possible options.
35+
An extended set of parameter messages is used to define settings and options.
36+
These minimally have a parameter name, type and default value (types can be predefined or arbitrary - though arbitrary types are only supported by custom camera controllers).
37+
They will also have a description that is displayed to the user and the set of possible options.
3638

3739
Parameters can be simple or quite complex, depending on the behavior they change.
3840

41+
> **Note** The parameter `CAM_MODE` must be part of the parameter list.
42+
It maps to the command [MAV_CMD_SET_CAMERA_MODE](../messages/common.md#MAV_CMD_SET_CAMERA_MODE).
43+
It enables exposure of different settings based on the mode, so photo settings in photo mode and video settings in video mode.
44+
3945
#### Parameter Types
4046

4147
The type of the parameter follows the enum [MAV_PARAM_EXT_TYPE](../messages/common.md#MAV_PARAM_EXT_TYPE_UINT8). Within the XML file, these are defined as:

0 commit comments

Comments
 (0)