mavsdk::Camera::Status Struct Reference

#include: camera.h


Information about the camera status.

Public Types

Type Description
enum StorageStatus Storage status 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.

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

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.

© Dronecode 2017-2020. License: CC BY 4.0            Updated: 2020-09-03 11:40:13

results matching ""

    No results matching ""