Struct mavlink::ardupilotmega::SIM_STATE_DATA
source · pub struct SIM_STATE_DATA {Show 21 fields
pub q1: f32,
pub q2: f32,
pub q3: f32,
pub q4: f32,
pub roll: f32,
pub pitch: f32,
pub yaw: f32,
pub xacc: f32,
pub yacc: f32,
pub zacc: f32,
pub xgyro: f32,
pub ygyro: f32,
pub zgyro: f32,
pub lat: f32,
pub lon: f32,
pub alt: f32,
pub std_dev_horz: f32,
pub std_dev_vert: f32,
pub vn: f32,
pub ve: f32,
pub vd: f32,
}
Fields§
§q1: f32
§q2: f32
§q3: f32
§q4: f32
§roll: f32
§pitch: f32
§yaw: f32
§xacc: f32
§yacc: f32
§zacc: f32
§xgyro: f32
§ygyro: f32
§zgyro: f32
§lat: f32
§lon: f32
§alt: f32
§std_dev_horz: f32
§std_dev_vert: f32
§vn: f32
§ve: f32
§vd: f32
Implementations§
source§impl SIM_STATE_DATA
impl SIM_STATE_DATA
pub const ENCODED_LEN: usize = 84usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for SIM_STATE_DATA
impl Clone for SIM_STATE_DATA
source§fn clone(&self) -> SIM_STATE_DATA
fn clone(&self) -> SIM_STATE_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 SIM_STATE_DATA
impl Debug for SIM_STATE_DATA
source§impl Default for SIM_STATE_DATA
impl Default for SIM_STATE_DATA
source§impl<'de> Deserialize<'de> for SIM_STATE_DATA
impl<'de> Deserialize<'de> for SIM_STATE_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 SIM_STATE_DATA
impl MessageData for SIM_STATE_DATA
type Message = MavMessage
const ID: u32 = 108u32
const NAME: &'static str = "SIM_STATE"
const EXTRA_CRC: u8 = 32u8
const ENCODED_LEN: usize = 84usize
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for SIM_STATE_DATA
impl PartialEq for SIM_STATE_DATA
source§fn eq(&self, other: &SIM_STATE_DATA) -> bool
fn eq(&self, other: &SIM_STATE_DATA) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SIM_STATE_DATA
impl Serialize for SIM_STATE_DATA
impl StructuralPartialEq for SIM_STATE_DATA
Auto Trait Implementations§
impl Freeze for SIM_STATE_DATA
impl RefUnwindSafe for SIM_STATE_DATA
impl Send for SIM_STATE_DATA
impl Sync for SIM_STATE_DATA
impl Unpin for SIM_STATE_DATA
impl UnwindSafe for SIM_STATE_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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)