Copyright | Copyright (C) 2015-2021 Swift Navigation Inc. |
---|---|
License | MIT |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
SwiftNav.SBP.SolutionMeta
Description
< Standardized Metadata messages for Fuzed Solution from Swift Navigation devices. >
Synopsis
- data SolutionInputType = SolutionInputType {}
- data MsgSolnMetaDepA = MsgSolnMetaDepA {
- _msgSolnMetaDepA_pdop :: !Word16
- _msgSolnMetaDepA_hdop :: !Word16
- _msgSolnMetaDepA_vdop :: !Word16
- _msgSolnMetaDepA_n_sats :: !Word8
- _msgSolnMetaDepA_age_corrections :: !Word16
- _msgSolnMetaDepA_alignment_status :: !Word8
- _msgSolnMetaDepA_last_used_gnss_pos_tow :: !Word32
- _msgSolnMetaDepA_last_used_gnss_vel_tow :: !Word32
- _msgSolnMetaDepA_sol_in :: ![SolutionInputType]
- solutionInputType_flags :: Lens' SolutionInputType Word8
- solutionInputType_sensor_type :: Lens' SolutionInputType Word8
- msgSolnMetaDepA :: Word16
- data MsgSolnMeta = MsgSolnMeta {}
- msgSolnMetaDepA_age_corrections :: Lens' MsgSolnMetaDepA Word16
- msgSolnMetaDepA_alignment_status :: Lens' MsgSolnMetaDepA Word8
- msgSolnMetaDepA_hdop :: Lens' MsgSolnMetaDepA Word16
- msgSolnMetaDepA_last_used_gnss_pos_tow :: Lens' MsgSolnMetaDepA Word32
- msgSolnMetaDepA_last_used_gnss_vel_tow :: Lens' MsgSolnMetaDepA Word32
- msgSolnMetaDepA_n_sats :: Lens' MsgSolnMetaDepA Word8
- msgSolnMetaDepA_pdop :: Lens' MsgSolnMetaDepA Word16
- msgSolnMetaDepA_sol_in :: Lens' MsgSolnMetaDepA [SolutionInputType]
- msgSolnMetaDepA_vdop :: Lens' MsgSolnMetaDepA Word16
- msgSolnMeta :: Word16
- data GNSSInputType = GNSSInputType {}
- msgSolnMeta_age_corrections :: Lens' MsgSolnMeta Word16
- msgSolnMeta_age_gnss :: Lens' MsgSolnMeta Word32
- msgSolnMeta_hdop :: Lens' MsgSolnMeta Word16
- msgSolnMeta_pdop :: Lens' MsgSolnMeta Word16
- msgSolnMeta_sol_in :: Lens' MsgSolnMeta [SolutionInputType]
- msgSolnMeta_tow :: Lens' MsgSolnMeta Word32
- msgSolnMeta_vdop :: Lens' MsgSolnMeta Word16
- data IMUInputType = IMUInputType {}
- gNSSInputType_flags :: Iso' GNSSInputType Word8
- data OdoInputType = OdoInputType {}
- iMUInputType_flags :: Iso' IMUInputType Word8
- odoInputType_flags :: Iso' OdoInputType Word8
Documentation
data SolutionInputType Source #
SolutionInputType.
Metadata describing which sensors were involved in the solution. The structure is fixed no matter what the actual sensor type is. The sensor_type field tells you which sensor we are talking about. It also tells you whether the sensor data was actually used or not. The flags field, always a u8, contains the sensor-specific data. The content of flags, for each sensor type, is described in the relevant structures in this section.
Constructors
SolutionInputType | |
Fields
|
Instances
data MsgSolnMetaDepA Source #
SBP class for message MSG_SOLN_META_DEP_A (0xFF0F).
Deprecated.
This message contains all metadata about the sensors received and/or used in computing the Fuzed Solution. It focuses primarily, but not only, on GNSS metadata.
Constructors
MsgSolnMetaDepA | |
Fields
|
Instances
data MsgSolnMeta Source #
SBP class for message MSG_SOLN_META (0xFF0E).
This message contains all metadata about the sensors received and/or used
in computing the sensorfusion solution. It focuses primarily, but not only,
on GNSS metadata. Regarding the age of the last received valid GNSS
solution, the highest two bits are time status, indicating whether age gnss
can or can not be used to retrieve time of measurement (noted TOM, also
known as time of validity) If it can, subtract 'age gnss' from tow
in
navigation messages to get TOM. Can be used before alignment is complete in
the Fusion Engine, when output solution is the last received valid GNSS
solution and its tow is not a TOM.
Constructors
MsgSolnMeta | |
Fields
|
Instances
Eq MsgSolnMeta Source # | |
Defined in SwiftNav.SBP.SolutionMeta | |
Read MsgSolnMeta Source # | |
Defined in SwiftNav.SBP.SolutionMeta Methods readsPrec :: Int -> ReadS MsgSolnMeta # readList :: ReadS [MsgSolnMeta] # readPrec :: ReadPrec MsgSolnMeta # readListPrec :: ReadPrec [MsgSolnMeta] # | |
Show MsgSolnMeta Source # | |
Defined in SwiftNav.SBP.SolutionMeta Methods showsPrec :: Int -> MsgSolnMeta -> ShowS # show :: MsgSolnMeta -> String # showList :: [MsgSolnMeta] -> ShowS # | |
ToJSON MsgSolnMeta Source # | |
Defined in SwiftNav.SBP.SolutionMeta Methods toJSON :: MsgSolnMeta -> Value # toEncoding :: MsgSolnMeta -> Encoding # toJSONList :: [MsgSolnMeta] -> Value # toEncodingList :: [MsgSolnMeta] -> Encoding # | |
FromJSON MsgSolnMeta Source # | |
Defined in SwiftNav.SBP.SolutionMeta | |
Binary MsgSolnMeta Source # | |
Defined in SwiftNav.SBP.SolutionMeta | |
ToSBP MsgSolnMeta Source # | |
Defined in SwiftNav.SBP.SolutionMeta |
msgSolnMeta :: Word16 Source #
data GNSSInputType Source #
GNSSInputType.
Metadata around the GNSS sensors involved in the fuzed solution. Accessible through sol_in[N].flags in a MSG_SOLN_META.
Constructors
GNSSInputType | |
Fields
|
Instances
Eq GNSSInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta Methods (==) :: GNSSInputType -> GNSSInputType -> Bool # (/=) :: GNSSInputType -> GNSSInputType -> Bool # | |
Read GNSSInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta Methods readsPrec :: Int -> ReadS GNSSInputType # readList :: ReadS [GNSSInputType] # | |
Show GNSSInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta Methods showsPrec :: Int -> GNSSInputType -> ShowS # show :: GNSSInputType -> String # showList :: [GNSSInputType] -> ShowS # | |
ToJSON GNSSInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta Methods toJSON :: GNSSInputType -> Value # toEncoding :: GNSSInputType -> Encoding # toJSONList :: [GNSSInputType] -> Value # toEncodingList :: [GNSSInputType] -> Encoding # | |
FromJSON GNSSInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta Methods parseJSON :: Value -> Parser GNSSInputType # parseJSONList :: Value -> Parser [GNSSInputType] # | |
Binary GNSSInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta |
data IMUInputType Source #
IMUInputType.
Metadata around the IMU sensors involved in the fuzed solution. Accessible through sol_in[N].flags in a MSG_SOLN_META.
Constructors
IMUInputType | |
Fields
|
Instances
Eq IMUInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta | |
Read IMUInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta Methods readsPrec :: Int -> ReadS IMUInputType # readList :: ReadS [IMUInputType] # | |
Show IMUInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta Methods showsPrec :: Int -> IMUInputType -> ShowS # show :: IMUInputType -> String # showList :: [IMUInputType] -> ShowS # | |
ToJSON IMUInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta Methods toJSON :: IMUInputType -> Value # toEncoding :: IMUInputType -> Encoding # toJSONList :: [IMUInputType] -> Value # toEncodingList :: [IMUInputType] -> Encoding # | |
FromJSON IMUInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta | |
Binary IMUInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta |
data OdoInputType Source #
OdoInputType.
Metadata around the Odometry sensors involved in the fuzed solution. Accessible through sol_in[N].flags in a MSG_SOLN_META.
Constructors
OdoInputType | |
Fields
|
Instances
Eq OdoInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta | |
Read OdoInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta Methods readsPrec :: Int -> ReadS OdoInputType # readList :: ReadS [OdoInputType] # | |
Show OdoInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta Methods showsPrec :: Int -> OdoInputType -> ShowS # show :: OdoInputType -> String # showList :: [OdoInputType] -> ShowS # | |
ToJSON OdoInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta Methods toJSON :: OdoInputType -> Value # toEncoding :: OdoInputType -> Encoding # toJSONList :: [OdoInputType] -> Value # toEncodingList :: [OdoInputType] -> Encoding # | |
FromJSON OdoInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta | |
Binary OdoInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta |