Struct sbp::messages::orientation::msg_angular_rate::MsgAngularRate
source · pub struct MsgAngularRate {
pub sender_id: Option<u16>,
pub tow: u32,
pub x: i32,
pub y: i32,
pub z: i32,
pub flags: u8,
}
Expand description
Vehicle Body Frame instantaneous angular rates
This message reports the orientation rates in the vehicle body frame. The values represent the measurements a strapped down gyroscope would make and are not equivalent to the time derivative of the Euler angles. The orientation and origin of the user frame is specified via device settings. By convention, the vehicle x-axis is expected to be aligned with the forward direction, while the vehicle y-axis is expected to be aligned with the right direction, and the vehicle z-axis should be aligned with the down direction. 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
x: i32
angular rate about x axis
y: i32
angular rate about y axis
z: i32
angular rate about z axis
flags: u8
Status flags
Implementations§
source§impl MsgAngularRate
impl MsgAngularRate
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 MsgAngularRate
impl Clone for MsgAngularRate
source§fn clone(&self) -> MsgAngularRate
fn clone(&self) -> MsgAngularRate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl ConcreteMessage for MsgAngularRate
impl ConcreteMessage for MsgAngularRate
source§const MESSAGE_TYPE: u16 = 546u16
const MESSAGE_TYPE: u16 = 546u16
source§const MESSAGE_NAME: &'static str = "MSG_ANGULAR_RATE"
const MESSAGE_NAME: &'static str = "MSG_ANGULAR_RATE"
source§impl Debug for MsgAngularRate
impl Debug for MsgAngularRate
source§impl<'de> Deserialize<'de> for MsgAngularRate
impl<'de> Deserialize<'de> for MsgAngularRate
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 MsgAngularRate
impl FriendlyName for MsgAngularRate
fn friendly_name() -> &'static str
source§impl From<MsgAngularRate> for Sbp
impl From<MsgAngularRate> for Sbp
source§fn from(msg: MsgAngularRate) -> Self
fn from(msg: MsgAngularRate) -> Self
source§impl PartialEq for MsgAngularRate
impl PartialEq for MsgAngularRate
source§fn eq(&self, other: &MsgAngularRate) -> bool
fn eq(&self, other: &MsgAngularRate) -> bool
self
and other
values to be equal, and is used
by ==
.