Struct mavlink::ardupilotmega::DIGICAM_CONFIGURE_DATA
source · 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,
}
Available on crate feature
ardupilotmega
only.Expand description
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§
source§impl DIGICAM_CONFIGURE_DATA
impl DIGICAM_CONFIGURE_DATA
pub const ENCODED_LEN: usize = 15usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for DIGICAM_CONFIGURE_DATA
impl Clone for DIGICAM_CONFIGURE_DATA
source§fn clone(&self) -> DIGICAM_CONFIGURE_DATA
fn clone(&self) -> DIGICAM_CONFIGURE_DATA
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DIGICAM_CONFIGURE_DATA
impl Debug for DIGICAM_CONFIGURE_DATA
source§impl Default for DIGICAM_CONFIGURE_DATA
impl Default for DIGICAM_CONFIGURE_DATA
source§impl<'de> Deserialize<'de> for DIGICAM_CONFIGURE_DATA
impl<'de> Deserialize<'de> for DIGICAM_CONFIGURE_DATA
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl MessageData for DIGICAM_CONFIGURE_DATA
impl MessageData for DIGICAM_CONFIGURE_DATA
const ID: u32 = 154u32
const NAME: &'static str = "DIGICAM_CONFIGURE"
const EXTRA_CRC: u8 = 84u8
const ENCODED_LEN: usize = 15usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for DIGICAM_CONFIGURE_DATA
impl PartialEq for DIGICAM_CONFIGURE_DATA
source§impl Serialize for DIGICAM_CONFIGURE_DATA
impl Serialize for DIGICAM_CONFIGURE_DATA
impl StructuralPartialEq for DIGICAM_CONFIGURE_DATA
Auto Trait Implementations§
impl Freeze for DIGICAM_CONFIGURE_DATA
impl RefUnwindSafe for DIGICAM_CONFIGURE_DATA
impl Send for DIGICAM_CONFIGURE_DATA
impl Sync for DIGICAM_CONFIGURE_DATA
impl Unpin for DIGICAM_CONFIGURE_DATA
impl UnwindSafe for DIGICAM_CONFIGURE_DATA
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)