Copyright | Copyright (C) 2015-2021 Swift Navigation Inc. |
---|---|
License | MIT |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
< Inertial Measurement Unit (IMU) messages. >
Synopsis
- data MsgImuRaw = MsgImuRaw {}
- data MsgImuAux = MsgImuAux {}
- data MsgImuComp = MsgImuComp {}
- msgImuRaw :: Word16
- msgImuAux :: Word16
- msgImuComp :: Word16
- msgImuRaw_acc_x :: Lens' MsgImuRaw Int16
- msgImuRaw_acc_y :: Lens' MsgImuRaw Int16
- msgImuRaw_acc_z :: Lens' MsgImuRaw Int16
- msgImuRaw_gyr_x :: Lens' MsgImuRaw Int16
- msgImuRaw_gyr_y :: Lens' MsgImuRaw Int16
- msgImuRaw_gyr_z :: Lens' MsgImuRaw Int16
- msgImuRaw_tow :: Lens' MsgImuRaw Word32
- msgImuRaw_tow_f :: Lens' MsgImuRaw Word8
- msgImuAux_imu_conf :: Lens' MsgImuAux Word8
- msgImuAux_imu_type :: Lens' MsgImuAux Word8
- msgImuAux_temp :: Lens' MsgImuAux Int16
- msgImuComp_acc_comp_x :: Lens' MsgImuComp Int32
- msgImuComp_acc_comp_y :: Lens' MsgImuComp Int32
- msgImuComp_acc_comp_z :: Lens' MsgImuComp Int32
- msgImuComp_flags :: Lens' MsgImuComp Word16
- msgImuComp_gyr_comp_x :: Lens' MsgImuComp Int32
- msgImuComp_gyr_comp_y :: Lens' MsgImuComp Int32
- msgImuComp_gyr_comp_z :: Lens' MsgImuComp Int32
- msgImuComp_time :: Lens' MsgImuComp Word64
Documentation
SBP class for message MSG_IMU_RAW (0x0900).
Raw data from the Inertial Measurement Unit, containing accelerometer and gyroscope readings. The sense of the measurements are to be aligned with the indications on the device itself. Measurement units, which are specific to the device hardware and settings, are communicated via the MSG_IMU_AUX message. If using "time since startup" local time tags, the receiving end will expect either a MSG_GNSS_TIME_OFFSET or MSG_PPS_TIME to establish the relationship between IMU time and GNSS time. Regardless of the timestamping mode, the timestamp is required to roll over to zero when reaching one week (604800 seconds, or 604800000 milliseconds). The time-tagging mode should not change throughout a run.
MsgImuRaw | |
|
SBP class for message MSG_IMU_AUX (0x0901).
Auxiliary data specific to a particular IMU. The imu_type
field will
always be consistent but the rest of the payload is device specific and
depends on the value of imu_type
.
MsgImuAux | |
|
data MsgImuComp Source #
SBP class for message MSG_IMU_COMP (0x0905).
Data from the Inertial Measurement Unit, containing accelerometer and gyroscope readings compensated for estimated errors and constant physical effects. The output is valid for inertially referenced center of navigation (IMU body frame) represented in vehicle body frame.
MsgImuComp | |
|
Instances
FromJSON MsgImuComp Source # | |
Defined in SwiftNav.SBP.Imu parseJSON :: Value -> Parser MsgImuComp # parseJSONList :: Value -> Parser [MsgImuComp] # | |
ToJSON MsgImuComp Source # | |
Defined in SwiftNav.SBP.Imu toJSON :: MsgImuComp -> Value # toEncoding :: MsgImuComp -> Encoding # toJSONList :: [MsgImuComp] -> Value # toEncodingList :: [MsgImuComp] -> Encoding # omitField :: MsgImuComp -> Bool # | |
Read MsgImuComp Source # | |
Defined in SwiftNav.SBP.Imu readsPrec :: Int -> ReadS MsgImuComp # readList :: ReadS [MsgImuComp] # readPrec :: ReadPrec MsgImuComp # readListPrec :: ReadPrec [MsgImuComp] # | |
Show MsgImuComp Source # | |
Defined in SwiftNav.SBP.Imu showsPrec :: Int -> MsgImuComp -> ShowS # show :: MsgImuComp -> String # showList :: [MsgImuComp] -> ShowS # | |
Binary MsgImuComp Source # | |
Defined in SwiftNav.SBP.Imu | |
Eq MsgImuComp Source # | |
Defined in SwiftNav.SBP.Imu (==) :: MsgImuComp -> MsgImuComp -> Bool # (/=) :: MsgImuComp -> MsgImuComp -> Bool # | |
ToSBP MsgImuComp Source # | |
Defined in SwiftNav.SBP.Imu |
msgImuComp :: Word16 Source #