[][src]Struct mavlink::common::CAMERA_CAPTURE_STATUS_DATA

pub struct CAMERA_CAPTURE_STATUS_DATA {
    pub time_boot_ms: u32,
    pub image_interval: f32,
    pub recording_time_ms: u32,
    pub available_capacity: f32,
    pub image_status: u8,
    pub video_status: u8,
    pub image_count: i32,
}

id: 262 Information about the status of a capture. Can be requested with a MAV_CMD_REQUEST_MESSAGE command..

Fields

time_boot_ms: u32

Timestamp (time since system boot)..

image_interval: f32

Image capture interval.

recording_time_ms: u32

Time since recording started.

available_capacity: f32

Available storage capacity..

image_status: u8

Current status of image capturing (0: idle, 1: capture in progress, 2: interval set but idle, 3: interval set and capture in progress).

video_status: u8

Current status of video capturing (0: idle, 1: capture in progress).

image_count: i32

Total number of images captured ('forever', or until reset using MAV_CMD_STORAGE_FORMAT)..

Implementations

impl CAMERA_CAPTURE_STATUS_DATA[src]

pub const ENCODED_LEN: usize[src]

pub fn deser(
    version: MavlinkVersion,
    _input: &[u8]
) -> Result<Self, ParserError>
[src]

pub fn ser(&self) -> Vec<u8>[src]

Trait Implementations

impl Clone for CAMERA_CAPTURE_STATUS_DATA[src]

impl Debug for CAMERA_CAPTURE_STATUS_DATA[src]

impl Default for CAMERA_CAPTURE_STATUS_DATA[src]

impl<'de> Deserialize<'de> for CAMERA_CAPTURE_STATUS_DATA[src]

impl PartialEq<CAMERA_CAPTURE_STATUS_DATA> for CAMERA_CAPTURE_STATUS_DATA[src]

impl Serialize for CAMERA_CAPTURE_STATUS_DATA[src]

impl StructuralPartialEq for CAMERA_CAPTURE_STATUS_DATA[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.