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§
source§impl 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§
source§impl Clone for MsgOrientEuler
impl Clone for MsgOrientEuler
source§fn clone(&self) -> MsgOrientEuler
fn clone(&self) -> MsgOrientEuler
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl ConcreteMessage for MsgOrientEuler
impl ConcreteMessage for MsgOrientEuler
source§const MESSAGE_TYPE: u16 = 545u16
const MESSAGE_TYPE: u16 = 545u16
source§const MESSAGE_NAME: &'static str = "MSG_ORIENT_EULER"
const MESSAGE_NAME: &'static str = "MSG_ORIENT_EULER"
source§impl Debug for MsgOrientEuler
impl Debug for MsgOrientEuler
source§impl<'de> Deserialize<'de> for MsgOrientEuler
impl<'de> Deserialize<'de> for MsgOrientEuler
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>,
source§impl FriendlyName for MsgOrientEuler
impl FriendlyName for MsgOrientEuler
fn friendly_name() -> &'static str
source§impl From<MsgOrientEuler> for Sbp
impl From<MsgOrientEuler> for Sbp
source§fn from(msg: MsgOrientEuler) -> Self
fn from(msg: MsgOrientEuler) -> Self
source§impl PartialEq for MsgOrientEuler
impl PartialEq for MsgOrientEuler
source§fn eq(&self, other: &MsgOrientEuler) -> bool
fn eq(&self, other: &MsgOrientEuler) -> bool
self
and other
values to be equal, and is used
by ==
.