mavsdk::Camera::Status Struct Reference

#include: camera.h


Information about the camera status.

Public Types

Type Description
enum StorageStatus Storage status type.
enum StorageType Storage type.

Data Fields

bool video_on {} - Whether video recording is currently in process.

bool photo_interval_on {} - Whether a photo interval is currently in process.

float used_storage_mib {} - Used storage (in MiB)

float available_storage_mib {} - Available storage (in MiB)

float total_storage_mib {} - Total storage (in MiB)

float recording_time_s {} - Elapsed time since starting the video recording (in seconds)

std::string media_folder_name {} - Current folder name where media are saved.

StorageStatus storage_status {} - Storage status.

uint32_t storage_id {} - Storage ID starting at 1.

StorageType storage_type {} - Storage type.

Member Enumeration Documentation

enum StorageStatus

Storage status type.

Value Description
NotAvailable Status not available.
Unformatted Storage is not formatted (i.e. has no recognized file system).
Formatted Storage is formatted (i.e. has recognized a file system).
NotSupported Storage status is not supported.

enum StorageType

Storage type.

Value Description
Unknown Storage type unknown.
UsbStick Storage type USB stick.
Sd Storage type SD card.
Microsd Storage type MicroSD card.
Hd Storage type HD mass storage.
Other Storage type other, not listed.

Field Documentation

video_on

bool mavsdk::Camera::Status::video_on {}

Whether video recording is currently in process.

photo_interval_on

bool mavsdk::Camera::Status::photo_interval_on {}

Whether a photo interval is currently in process.

used_storage_mib

float mavsdk::Camera::Status::used_storage_mib {}

Used storage (in MiB)

available_storage_mib

float mavsdk::Camera::Status::available_storage_mib {}

Available storage (in MiB)

total_storage_mib

float mavsdk::Camera::Status::total_storage_mib {}

Total storage (in MiB)

recording_time_s

float mavsdk::Camera::Status::recording_time_s {}

Elapsed time since starting the video recording (in seconds)

media_folder_name

std::string mavsdk::Camera::Status::media_folder_name {}

Current folder name where media are saved.

storage_status

StorageStatus mavsdk::Camera::Status::storage_status {}

Storage status.

storage_id

uint32_t mavsdk::Camera::Status::storage_id {}

Storage ID starting at 1.

storage_type

StorageType mavsdk::Camera::Status::storage_type {}

Storage type.

© MAVSDK Development Team 2017-2023. License: CC BY 4.0            Updated: 2023-12-27 03:58:12

results matching ""

    No results matching ""