Struct sbp::messages::orientation::msg_orient_euler::MsgOrientEuler
source · [−]pub struct MsgOrientEuler {
pub sender_id: Option<u16>,
pub tow: u32,
pub roll: i32,
pub pitch: i32,
pub yaw: i32,
pub roll_accuracy: f32,
pub pitch_accuracy: f32,
pub yaw_accuracy: f32,
pub flags: u8,
}
Expand description
Euler angles
This message reports the yaw, pitch, and roll angles of the vehicle body frame. The rotations should applied intrinsically in the order yaw, pitch, and roll in order to rotate the from a frame aligned with the local-level NED frame to the vehicle body frame. This message will only be available in future INS versions of Swift Products and is not produced by Piksi Multi or Duro.
Fields
sender_id: Option<u16>
The message sender_id
tow: u32
GPS Time of Week
roll: i32
rotation about the forward axis of the vehicle
pitch: i32
rotation about the rightward axis of the vehicle
yaw: i32
rotation about the downward axis of the vehicle
roll_accuracy: f32
Estimated standard deviation of roll
pitch_accuracy: f32
Estimated standard deviation of pitch
yaw_accuracy: f32
Estimated standard deviation of yaw
flags: u8
Status flags
Implementations
sourceimpl MsgOrientEuler
impl MsgOrientEuler
Gets the InsNavigationMode stored in the flags
bitfield.
Returns Ok
if the bitrange contains a known InsNavigationMode
variant.
Otherwise the value of the bitrange is returned as an Err(u8)
. This may be because of a malformed message,
or because new variants of InsNavigationMode
were added.
Set the bitrange corresponding to the InsNavigationMode of the flags
bitfield.
Trait Implementations
sourceimpl Clone for MsgOrientEuler
impl Clone for MsgOrientEuler
sourcefn clone(&self) -> MsgOrientEuler
fn clone(&self) -> MsgOrientEuler
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl ConcreteMessage for MsgOrientEuler
impl ConcreteMessage for MsgOrientEuler
sourceconst MESSAGE_TYPE: u16
const MESSAGE_TYPE: u16
The message type.
sourceconst MESSAGE_NAME: &'static str
const MESSAGE_NAME: &'static str
The message name.
sourceimpl Debug for MsgOrientEuler
impl Debug for MsgOrientEuler
sourceimpl From<MsgOrientEuler> for Sbp
impl From<MsgOrientEuler> for Sbp
sourcefn from(msg: MsgOrientEuler) -> Self
fn from(msg: MsgOrientEuler) -> Self
Performs the conversion.
sourceimpl SbpMessage for MsgOrientEuler
impl SbpMessage for MsgOrientEuler
sourcefn message_name(&self) -> &'static str
fn message_name(&self) -> &'static str
Get the message name.
sourcefn message_type(&self) -> u16
fn message_type(&self) -> u16
Get the message type.
sourcefn set_sender_id(&mut self, new_id: u16)
fn set_sender_id(&mut self, new_id: u16)
Set the sender id.
sourcefn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Number of bytes this message will take on the wire.
Auto Trait Implementations
impl RefUnwindSafe for MsgOrientEuler
impl Send for MsgOrientEuler
impl Sync for MsgOrientEuler
impl Unpin for MsgOrientEuler
impl UnwindSafe for MsgOrientEuler
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more