Skip to content

Commit

Permalink
camera_def: add note about CAM_MODE param (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianoes authored Apr 7, 2020
1 parent 49e90dd commit dcbd861
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion en/services/camera_def.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,16 @@ All fields are self explanatory:

### Parameters

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.
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.

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

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

#### Parameter Types

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:
Expand Down

0 comments on commit dcbd861

Please sign in to comment.