Struct mavlink::ardupilotmega::DIGICAM_CONTROL_DATA
source · pub struct DIGICAM_CONTROL_DATA {
pub extra_value: f32,
pub target_system: u8,
pub target_component: u8,
pub session: u8,
pub zoom_pos: u8,
pub zoom_step: i8,
pub focus_lock: u8,
pub shot: u8,
pub command_id: u8,
pub extra_param: u8,
}
Available on crate feature
ardupilotmega
only.Expand description
id: 155 Control on-board Camera Control System to take shots..
Fields§
§extra_value: f32
Correspondent value to given extra_param..
target_system: u8
System ID..
target_component: u8
Component ID..
session: u8
0: stop, 1: start or keep it up //Session control e.g. show/hide lens..
zoom_pos: u8
1 to N //Zoom’s absolute position (0 means ignore)..
zoom_step: i8
-100 to 100 //Zooming step value to offset zoom from the current position..
focus_lock: u8
0: unlock focus or keep unlocked, 1: lock focus or keep locked, 3: re-lock focus..
shot: u8
0: ignore, 1: shot or start filming..
command_id: u8
Command Identity (incremental loop: 0 to 255)//A command sent multiple times will be executed or pooled just once..
extra_param: u8
Extra parameters enumeration (0 means ignore)..
Implementations§
source§impl DIGICAM_CONTROL_DATA
impl DIGICAM_CONTROL_DATA
pub const ENCODED_LEN: usize = 13usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for DIGICAM_CONTROL_DATA
impl Clone for DIGICAM_CONTROL_DATA
source§fn clone(&self) -> DIGICAM_CONTROL_DATA
fn clone(&self) -> DIGICAM_CONTROL_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_CONTROL_DATA
impl Debug for DIGICAM_CONTROL_DATA
source§impl Default for DIGICAM_CONTROL_DATA
impl Default for DIGICAM_CONTROL_DATA
source§impl<'de> Deserialize<'de> for DIGICAM_CONTROL_DATA
impl<'de> Deserialize<'de> for DIGICAM_CONTROL_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_CONTROL_DATA
impl MessageData for DIGICAM_CONTROL_DATA
const ID: u32 = 155u32
const NAME: &'static str = "DIGICAM_CONTROL"
const EXTRA_CRC: u8 = 22u8
const ENCODED_LEN: usize = 13usize
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_CONTROL_DATA
impl PartialEq for DIGICAM_CONTROL_DATA
source§impl Serialize for DIGICAM_CONTROL_DATA
impl Serialize for DIGICAM_CONTROL_DATA
impl StructuralPartialEq for DIGICAM_CONTROL_DATA
Auto Trait Implementations§
impl Freeze for DIGICAM_CONTROL_DATA
impl RefUnwindSafe for DIGICAM_CONTROL_DATA
impl Send for DIGICAM_CONTROL_DATA
impl Sync for DIGICAM_CONTROL_DATA
impl Unpin for DIGICAM_CONTROL_DATA
impl UnwindSafe for DIGICAM_CONTROL_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
)