[][src]Struct mavlink::ardupilotmega::DIGICAM_CONFIGURE_DATA

pub struct DIGICAM_CONFIGURE_DATA {
    pub extra_value: f32,
    pub shutter_speed: u16,
    pub target_system: u8,
    pub target_component: u8,
    pub mode: u8,
    pub aperture: u8,
    pub iso: u8,
    pub exposure_type: u8,
    pub command_id: u8,
    pub engine_cut_off: u8,
    pub extra_param: u8,
}

id: 154 Configure on-board Camera Control System..

Fields

extra_value: f32

Correspondent value to given extra_param..

shutter_speed: u16

Divisor number //e.g. 1000 means 1/1000 (0 means ignore)..

target_system: u8

System ID..

target_component: u8

Component ID..

mode: u8

Mode enumeration from 1 to N //P, TV, AV, M, etc. (0 means ignore)..

aperture: u8

F stop number x 10 //e.g. 28 means 2.8 (0 means ignore)..

iso: u8

ISO enumeration from 1 to N //e.g. 80, 100, 200, Etc (0 means ignore)..

exposure_type: u8

Exposure type enumeration from 1 to N (0 means ignore)..

command_id: u8

Command Identity (incremental loop: 0 to 255). //A command sent multiple times will be executed or pooled just once..

engine_cut_off: u8

Main engine cut-off time before camera trigger (0 means no cut-off)..

extra_param: u8

Extra parameters enumeration (0 means ignore)..

Implementations

impl DIGICAM_CONFIGURE_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 DIGICAM_CONFIGURE_DATA[src]

impl Debug for DIGICAM_CONFIGURE_DATA[src]

impl Default for DIGICAM_CONFIGURE_DATA[src]

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

impl PartialEq<DIGICAM_CONFIGURE_DATA> for DIGICAM_CONFIGURE_DATA[src]

impl Serialize for DIGICAM_CONFIGURE_DATA[src]

impl StructuralPartialEq for DIGICAM_CONFIGURE_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.