Struct mavlink::python_array_test::MOUNT_ORIENTATION_DATA
source · pub struct MOUNT_ORIENTATION_DATA {
pub time_boot_ms: u32,
pub roll: f32,
pub pitch: f32,
pub yaw: f32,
pub yaw_absolute: f32,
}
Available on crate feature
python_array_test
only.Expand description
id: 265 Orientation of a mount.
Fields§
§time_boot_ms: u32
Timestamp (time since system boot)..
roll: f32
Roll in global frame (set to NaN for invalid)..
pitch: f32
Pitch in global frame (set to NaN for invalid)..
yaw: f32
Yaw relative to vehicle (set to NaN for invalid)..
yaw_absolute: f32
Yaw in absolute frame relative to Earth’s North, north is 0 (set to NaN for invalid)..
Implementations§
source§impl MOUNT_ORIENTATION_DATA
impl MOUNT_ORIENTATION_DATA
pub const ENCODED_LEN: usize = 20usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for MOUNT_ORIENTATION_DATA
impl Clone for MOUNT_ORIENTATION_DATA
source§fn clone(&self) -> MOUNT_ORIENTATION_DATA
fn clone(&self) -> MOUNT_ORIENTATION_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 MOUNT_ORIENTATION_DATA
impl Debug for MOUNT_ORIENTATION_DATA
source§impl Default for MOUNT_ORIENTATION_DATA
impl Default for MOUNT_ORIENTATION_DATA
source§impl<'de> Deserialize<'de> for MOUNT_ORIENTATION_DATA
impl<'de> Deserialize<'de> for MOUNT_ORIENTATION_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 MOUNT_ORIENTATION_DATA
impl MessageData for MOUNT_ORIENTATION_DATA
const ID: u32 = 265u32
const NAME: &'static str = "MOUNT_ORIENTATION"
const EXTRA_CRC: u8 = 26u8
const ENCODED_LEN: usize = 20usize
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 MOUNT_ORIENTATION_DATA
impl PartialEq for MOUNT_ORIENTATION_DATA
source§impl Serialize for MOUNT_ORIENTATION_DATA
impl Serialize for MOUNT_ORIENTATION_DATA
impl StructuralPartialEq for MOUNT_ORIENTATION_DATA
Auto Trait Implementations§
impl Freeze for MOUNT_ORIENTATION_DATA
impl RefUnwindSafe for MOUNT_ORIENTATION_DATA
impl Send for MOUNT_ORIENTATION_DATA
impl Sync for MOUNT_ORIENTATION_DATA
impl Unpin for MOUNT_ORIENTATION_DATA
impl UnwindSafe for MOUNT_ORIENTATION_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
)