pub struct ScaledImu3 {
pub time_boot_ms: u32,
pub xacc: i16,
pub yacc: i16,
pub zacc: i16,
pub xgyro: i16,
pub ygyro: i16,
pub zgyro: i16,
pub xmag: i16,
pub ymag: i16,
pub zmag: i16,
pub temperature: i16,
}Expand description
MAVLink SCALED_IMU3 message.
The minimum supported MAVLink version is MAVLink 1.
§Description
The RAW IMU readings for 3rd 9DOF sensor setup. This message should contain the scaled values to the described units
§Encoding/Decoding
Message encoding/decoding are provided by implementing core::convert::TryFrom<Payload> for
ScaledImu3 (encoding) and [IntoPayload] (decoding) traits.
These traits are implemented by Message proc macro.
Fields§
§time_boot_ms: u32MAVLink field time_boot_ms.
Timestamp (time since system boot).
xacc: i16MAVLink field xacc.
X acceleration
yacc: i16MAVLink field yacc.
Y acceleration
zacc: i16MAVLink field zacc.
Z acceleration
xgyro: i16MAVLink field xgyro.
Angular speed around X axis
ygyro: i16MAVLink field ygyro.
Angular speed around Y axis
zgyro: i16MAVLink field zgyro.
Angular speed around Z axis
xmag: i16MAVLink field xmag.
X Magnetic field
ymag: i16MAVLink field ymag.
Y Magnetic field
zmag: i16MAVLink field zmag.
Z Magnetic field
temperature: i16MAVLink field temperature.
Temperature, 0: IMU does not provide temperature values. If the IMU is at 0C it must send 1 (0.01C).
Implementations§
Source§impl ScaledImu3
impl ScaledImu3
Sourcepub const fn spec() -> MessageInfo
pub const fn spec() -> MessageInfo
Returns specification for this message.
Sourcepub const fn message_id() -> u32
pub const fn message_id() -> u32
Message ID.
Sourcepub const fn min_supported_mavlink_version() -> MavLinkVersion
pub const fn min_supported_mavlink_version() -> MavLinkVersion
Minimum supported MAVLink version for this message.
Trait Implementations§
Source§impl Clone for ScaledImu3
impl Clone for ScaledImu3
Source§fn clone(&self) -> ScaledImu3
fn clone(&self) -> ScaledImu3
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ScaledImu3
impl Debug for ScaledImu3
Source§impl Default for ScaledImu3
impl Default for ScaledImu3
Source§fn default() -> ScaledImu3
fn default() -> ScaledImu3
Source§impl<'de> Deserialize<'de> for ScaledImu3
impl<'de> Deserialize<'de> for ScaledImu3
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ScaledImu3, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ScaledImu3, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl From<ScaledImu3> for Common
impl From<ScaledImu3> for Common
Source§fn from(value: ScaledImu3) -> Common
fn from(value: ScaledImu3) -> Common
Source§impl IntoPayload for ScaledImu3
impl IntoPayload for ScaledImu3
Source§impl MessageSpec for ScaledImu3
impl MessageSpec for ScaledImu3
Source§impl MessageSpecStatic for ScaledImu3
impl MessageSpecStatic for ScaledImu3
Source§fn spec() -> MessageInfo
fn spec() -> MessageInfo
Source§fn message_id() -> u32
fn message_id() -> u32
ID.Source§fn min_supported_mavlink_version() -> MavLinkVersion
fn min_supported_mavlink_version() -> MavLinkVersion
Source§impl NamedType for ScaledImu3
impl NamedType for ScaledImu3
fn sid() -> SpectaID
Source§fn named_data_type(
type_map: &mut TypeCollection,
generics: &[DataType],
) -> NamedDataType
fn named_data_type( type_map: &mut TypeCollection, generics: &[DataType], ) -> NamedDataType
Source§fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
Source§impl PartialEq for ScaledImu3
impl PartialEq for ScaledImu3
Source§impl Serialize for ScaledImu3
impl Serialize for ScaledImu3
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Source§impl TryFrom<&Payload> for ScaledImu3
impl TryFrom<&Payload> for ScaledImu3
Source§impl Type for ScaledImu3
impl Type for ScaledImu3
Source§fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
Source§fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
definition will be put into the type map.