Get desktop application:
View/edit binary Protocol Buffers messages
Can be used to manage cameras that implement the MAVLink Camera Protocol: https://mavlink.io/en/services/camera.html. Currently only a single camera is supported. When multiple cameras are supported the plugin will need to be instantiated separately for every camera and the camera selected using `select_camera`.
Start focusing in.
Component ID
Start focusing out.
Component ID
Focus with range value of full range (value between 0.0 and 100.0).
Component ID
Range must be between 0.0 - 100.0
Stop focus.
Component ID
Format storage (e.g. SD card) in camera. This will delete all content of the camera storage!
Component ID
Storage identify to be format
Get current settings.
Component ID
List of current settings
Get camera mode.
Component ID
Mode
Get possible setting options.
Component ID
List of settings that can be changed
Get a setting. Only setting_id of setting needs to be set.
Component ID (0/all not available)
Requested setting
Setting
Get camera's storage status.
Component ID
Camera's storage status
Get video stream info.
Component ID
Video stream info
List photos available on the camera. Note that this might need to be called initially to set the PhotosRange accordingly. Once set to 'all' rather than 'since connection', it will try to request the previous images over time.
Component ID
Which photos should be listed (all or since connection)
List of capture infos (representing the photos)
Reset all settings in camera. This will reset all camera settings to default value
Component ID
Set camera mode.
Component ID
Camera mode to set
Set a setting to some value. Only setting_id of setting and option_id of option needs to be set.
Component ID
Desired setting
Start photo timelapse with a given interval.
Component ID
Interval between photos (in seconds)
Start a video recording.
Component ID
Start video streaming.
Component ID
video stream id
Stop a running photo timelapse.
Component ID
Stop a running video recording.
Component ID
Stop current video streaming.
Component ID
video stream id
Subscribe to list of cameras. This allows to find out what cameras are connected to the system. Based on the camera ID, we can then address a specific camera.
(message has no fields)
Camera list
Subscribe to capture info updates.
(message has no fields)
Capture info
Get the list of current camera settings.
(message has no fields)
Current setting update per camera
Subscribe to camera mode updates.
(message has no fields)
Mode update for camera
Get the list of settings that can be changed.
(message has no fields)
Possible setting update per camera
Subscribe to camera's storage status updates.
(message has no fields)
Camera's storage status
Subscribe to video stream info updates.
(message has no fields)
Video stream update for camera
Take one photo.
Component ID
Track point.
Component ID
Point in X axis (0..1, 0 is left, 1 is right)
Point in Y axis (0..1, 0 is top, 1 is bottom)
Radius (0 is one pixel, 1 is full image width)
Track rectangle.
Component ID
Top left corner of rectangle x value (normalized 0..1, 0 is left, 1 is right)
Top left corner of rectangle y value (normalized 0..1, 0 is top, 1 is bottom)
Bottom right corner of rectangle x value (normalized 0..1, 0 is left, 1 is right)
Bottom right corner of rectangle y value (normalized 0..1, 0 is top, 1 is bottom)
Stop tracking.
Component ID
Start zooming in.
Component ID
Start zooming out.
Component ID
Zoom to value as proportion of full camera range (percentage between 0.0 and 100.0).
Component ID
Range must be between 0.0 and 100.0
Stop zooming.
Component ID
Camera list
Used in:
Camera items.
Result type.
Used in: , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Result enum value
Human-readable English string describing the result
Possible results returned for camera commands
Used in:
Unknown result
Command executed successfully
Command in progress
Camera is busy and rejected command
Camera denied the command
An error has occurred while executing the command
Command timed out
Command has wrong argument(s)
No system connected
Definition file protocol not supported
Not available (yet)
Camera with camera ID not found
Camera action not supported
Information about a picture just captured.
Used in: ,
Component ID
Location where the picture was taken
Attitude of the camera when the picture was taken (quaternion)
Attitude of the camera when the picture was taken (euler angle)
Timestamp in UTC (since UNIX epoch) in microseconds
True if the capture was successful
Zero-based index of this image since vehicle was armed
Download URL of this image
An update about a current setting
Used in:
Component ID
List of current settings
Euler angle type. All rotations and axis systems follow the right-hand rule. The Euler angles follow the convention of a 3-2-1 intrinsic Tait-Bryan rotation sequence. For more info see https://en.wikipedia.org/wiki/Euler_angles
Used in:
Roll angle in degrees, positive is banking to the right
Pitch angle in degrees, positive is pitching nose up
Yaw angle in degrees, positive is clock-wise seen from above
Type to represent a camera information.
Used in:
Component ID
Name of the camera vendor
Name of the camera model
Focal length
Horizontal sensor size
Vertical sensor size
Horizontal image resolution in pixels
Vertical image resolution in pixels
Camera mode type.
Used in: , ,
Unknown
Photo mode
Video mode
An update about the current mode
Used in:
Component ID
Camera mode
Type to represent a setting option.
Used in: ,
Name of the option (machine readable)
Description of the option (human readable)
Photos range type.
Used in:
All the photos present on the camera
Photos taken since MAVSDK got connected
Position type in global coordinates.
Used in:
Latitude in degrees (range: -90 to +90)
Longitude in degrees (range: -180 to +180)
Altitude AMSL (above mean sea level) in metres
Altitude relative to takeoff altitude in metres
An update about possible setting options
Used in:
Component ID
List of settings that can be changed
Quaternion type. All rotations and axis systems follow the right-hand rule. The Hamilton quaternion product definition is used. A zero-rotation quaternion is represented by (1,0,0,0). The quaternion could also be written as w + xi + yj + zk. For more info see: https://en.wikipedia.org/wiki/Quaternion
Used in:
Quaternion entry 0, also denoted as a
Quaternion entry 1, also denoted as b
Quaternion entry 2, also denoted as c
Quaternion entry 3, also denoted as d
Type to represent a setting with a selected option.
Used in: , , , ,
Name of a setting (machine readable)
Description of the setting (human readable). This field is meant to be read from the drone, ignore it when setting.
Selected option
If option is given as a range. This field is meant to be read from the drone, ignore it when setting.
Type to represent a setting with a list of options to choose from.
Used in: ,
Component ID
Name of the setting (machine readable)
Description of the setting (human readable)
List of options or if range [min, max] or [min, max, interval]
If option is given as a range
Information about the camera's storage status.
Used in: ,
Component ID
Whether video recording is currently in process
Whether a photo interval is currently in process
Used storage (in MiB)
Available storage (in MiB)
Total storage (in MiB)
Elapsed time since starting the video recording (in seconds)
Current folder name where media are saved
Storage status
Storage ID starting at 1
Storage type
Storage status type.
Used in:
Status not available
Storage is not formatted (i.e. has no recognized file system)
Storage is formatted (i.e. has recognized a file system)
Storage status is not supported
Storage type.
Used in:
Storage type unknown
Storage type USB stick
Storage type SD card
Storage type MicroSD card
Storage type HD mass storage
Storage type other, not listed
An update about storage
Used in:
Component ID
Storage
Information about the video stream.
Used in: ,
Stream ID
Video stream settings
Current status of video streaming
Light-spectrum of the video stream
Video stream light spectrum type
Used in:
Unknown
Visible light
Infrared
Video stream status type.
Used in:
Video stream is not running
Video stream is running
Type for video stream settings.
Used in:
Frames per second
Horizontal resolution (in pixels)
Vertical resolution (in pixels)
Bit rate (in bits per second)
Video image rotation (clockwise, 0-359 degrees)
Video stream URI
Horizontal fov in degrees
An update about a video stream
Used in:
Component ID
Video stream info