pub struct AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_EXT_DATA {
pub time_boot_us: u64,
pub wind_x: f32,
pub wind_y: f32,
pub wind_correction_angle: f32,
pub target_system: u8,
pub target_component: u8,
}
Available on crate feature
storm32
only.Expand description
id: 60000 Addition to message AUTOPILOT_STATE_FOR_GIMBAL_DEVICE.
Fields§
§time_boot_us: u64
Timestamp (time since system boot).
wind_x: f32
Wind X speed in NED (North,Est, Down). NAN if unknown.
wind_y: f32
Wind Y speed in NED (North, East, Down). NAN if unknown.
wind_correction_angle: f32
Correction angle due to wind. NaN if unknown.
target_system: u8
System ID.
target_component: u8
Component ID.
Implementations§
Source§impl AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_EXT_DATA
impl AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_EXT_DATA
pub const ENCODED_LEN: usize = 22usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_EXT_DATA
impl Clone for AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_EXT_DATA
Source§fn clone(&self) -> AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_EXT_DATA
fn clone(&self) -> AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_EXT_DATA
Returns a duplicate 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<'de> Deserialize<'de> for AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_EXT_DATA
impl<'de> Deserialize<'de> for AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_EXT_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 AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_EXT_DATA
impl MessageData for AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_EXT_DATA
const ID: u32 = 60_000u32
const NAME: &'static str = "AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_EXT"
const EXTRA_CRC: u8 = 4u8
const ENCODED_LEN: usize = 22usize
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 AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_EXT_DATA
impl PartialEq for AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_EXT_DATA
Source§fn eq(&self, other: &AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_EXT_DATA) -> bool
fn eq(&self, other: &AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_EXT_DATA) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_EXT_DATA
Auto Trait Implementations§
impl Freeze for AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_EXT_DATA
impl RefUnwindSafe for AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_EXT_DATA
impl Send for AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_EXT_DATA
impl Sync for AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_EXT_DATA
impl Unpin for AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_EXT_DATA
impl UnwindSafe for AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_EXT_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