pub struct RAW_IMU_DATA {
pub time_usec: u64,
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 id: u8,
pub temperature: i16,
}
ualberta
only.Expand description
id: 27 The RAW IMU readings for a 9DOF sensor, which is identified by the id (default IMU1). This message should always contain the true raw values without any scaling to allow data capture and system debugging..
Fields§
§time_usec: u64
Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number..
xacc: i16
X acceleration (raw).
yacc: i16
Y acceleration (raw).
zacc: i16
Z acceleration (raw).
xgyro: i16
Angular speed around X axis (raw).
ygyro: i16
Angular speed around Y axis (raw).
zgyro: i16
Angular speed around Z axis (raw).
xmag: i16
X Magnetic field (raw).
ymag: i16
Y Magnetic field (raw).
zmag: i16
Z Magnetic field (raw).
id: u8
Id. Ids are numbered from 0 and map to IMUs numbered from 1 (e.g. IMU1 will have a message with id=0).
temperature: i16
Temperature, 0: IMU does not provide temperature values. If the IMU is at 0C it must send 1 (0.01C)..
Implementations§
Source§impl RAW_IMU_DATA
impl RAW_IMU_DATA
pub const ENCODED_LEN: usize = 29usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for RAW_IMU_DATA
impl Clone for RAW_IMU_DATA
Source§fn clone(&self) -> RAW_IMU_DATA
fn clone(&self) -> RAW_IMU_DATA
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more