Copyright | Copyright (C) 2015-2021 Swift Navigation Inc. |
---|---|
License | MIT |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
< 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.
SolutionInputType | |
|
Instances
data MsgSolnMetaDepA Source #
SBP class for message MSG_SOLN_META_DEP_A (0xFF0F).
Deprecated.
MsgSolnMetaDepA | |
|
Instances
FromJSON MsgSolnMetaDepA Source # | |
Defined in SwiftNav.SBP.SolutionMeta parseJSON :: Value -> Parser MsgSolnMetaDepA # parseJSONList :: Value -> Parser [MsgSolnMetaDepA] # | |
ToJSON MsgSolnMetaDepA Source # | |
Defined in SwiftNav.SBP.SolutionMeta toJSON :: MsgSolnMetaDepA -> Value # toEncoding :: MsgSolnMetaDepA -> Encoding # toJSONList :: [MsgSolnMetaDepA] -> Value # toEncodingList :: [MsgSolnMetaDepA] -> Encoding # | |
Read MsgSolnMetaDepA Source # | |
Defined in SwiftNav.SBP.SolutionMeta | |
Show MsgSolnMetaDepA Source # | |
Defined in SwiftNav.SBP.SolutionMeta showsPrec :: Int -> MsgSolnMetaDepA -> ShowS # show :: MsgSolnMetaDepA -> String # showList :: [MsgSolnMetaDepA] -> ShowS # | |
Binary MsgSolnMetaDepA Source # | |
Defined in SwiftNav.SBP.SolutionMeta | |
Eq MsgSolnMetaDepA Source # | |
Defined in SwiftNav.SBP.SolutionMeta (==) :: MsgSolnMetaDepA -> MsgSolnMetaDepA -> Bool # (/=) :: MsgSolnMetaDepA -> MsgSolnMetaDepA -> Bool # | |
ToSBP MsgSolnMetaDepA Source # | |
Defined in SwiftNav.SBP.SolutionMeta |
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.
MsgSolnMeta | |
|
Instances
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.
GNSSInputType | |
|
Instances
FromJSON GNSSInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta parseJSON :: Value -> Parser GNSSInputType # parseJSONList :: Value -> Parser [GNSSInputType] # | |
ToJSON GNSSInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta toJSON :: GNSSInputType -> Value # toEncoding :: GNSSInputType -> Encoding # toJSONList :: [GNSSInputType] -> Value # toEncodingList :: [GNSSInputType] -> Encoding # | |
Read GNSSInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta readsPrec :: Int -> ReadS GNSSInputType # readList :: ReadS [GNSSInputType] # | |
Show GNSSInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta showsPrec :: Int -> GNSSInputType -> ShowS # show :: GNSSInputType -> String # showList :: [GNSSInputType] -> ShowS # | |
Binary GNSSInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta | |
Eq GNSSInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta (==) :: GNSSInputType -> GNSSInputType -> Bool # (/=) :: GNSSInputType -> GNSSInputType -> Bool # |
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.
IMUInputType | |
|
Instances
FromJSON IMUInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta parseJSON :: Value -> Parser IMUInputType # parseJSONList :: Value -> Parser [IMUInputType] # | |
ToJSON IMUInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta toJSON :: IMUInputType -> Value # toEncoding :: IMUInputType -> Encoding # toJSONList :: [IMUInputType] -> Value # toEncodingList :: [IMUInputType] -> Encoding # | |
Read IMUInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta readsPrec :: Int -> ReadS IMUInputType # readList :: ReadS [IMUInputType] # | |
Show IMUInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta showsPrec :: Int -> IMUInputType -> ShowS # show :: IMUInputType -> String # showList :: [IMUInputType] -> ShowS # | |
Binary IMUInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta | |
Eq IMUInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta (==) :: IMUInputType -> IMUInputType -> Bool # (/=) :: IMUInputType -> IMUInputType -> Bool # |
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.
OdoInputType | |
|
Instances
FromJSON OdoInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta parseJSON :: Value -> Parser OdoInputType # parseJSONList :: Value -> Parser [OdoInputType] # | |
ToJSON OdoInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta toJSON :: OdoInputType -> Value # toEncoding :: OdoInputType -> Encoding # toJSONList :: [OdoInputType] -> Value # toEncodingList :: [OdoInputType] -> Encoding # | |
Read OdoInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta readsPrec :: Int -> ReadS OdoInputType # readList :: ReadS [OdoInputType] # | |
Show OdoInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta showsPrec :: Int -> OdoInputType -> ShowS # show :: OdoInputType -> String # showList :: [OdoInputType] -> ShowS # | |
Binary OdoInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta | |
Eq OdoInputType Source # | |
Defined in SwiftNav.SBP.SolutionMeta (==) :: OdoInputType -> OdoInputType -> Bool # (/=) :: OdoInputType -> OdoInputType -> Bool # |