Fixposition SDK 0.0.0-heads/main-0-g90a51ff
Collection of c++ libraries and apps for use with Fixposition products
|
Parser FP_A routines and types. More...
Classes | |
struct | FpaCorrimuPayload |
FP_A-CORRIMU (version 1) message payload. More... | |
struct | FpaEoePayload |
FP_A-EOE (version 1) message payload. More... | |
struct | FpaFloat |
FP_A float value. More... | |
struct | FpaFloat3 |
FP_A three float values. More... | |
struct | FpaFloat4 |
FP_A four float values. More... | |
struct | FpaFloat6 |
FP_A six float values. More... | |
struct | FpaGnssantPayload |
FP_A-GNSSANT (version 1) message payload. More... | |
struct | FpaGnsscorrPayload |
FP_A-GNSSCORR (version 1) message payload. More... | |
struct | FpaGpsTime |
FP_A GPS time. More... | |
struct | FpaImubiasPayload |
FP_A-IMUBIAS (version 1) message payload. More... | |
struct | FpaImuPayload |
FP_A-...IMU (version 1) messages payload. More... | |
struct | FpaInt |
FP_A integer value. More... | |
struct | FpaLlhPayload |
FP_A-LLH (version 1) message payload. More... | |
struct | FpaMessageMeta |
FP_A message meta data. More... | |
struct | FpaOdomenuPayload |
FP_A-ODOMENU (version 1) messages payload (ENU0) More... | |
struct | FpaOdometryPayload |
FP_A-ODOMETRY (version 2) messages payload (ECEF) More... | |
struct | FpaOdomPayload |
FP_A-ODOM... (version 1) messages payload. More... | |
struct | FpaOdomshPayload |
FP_A-ODOMSH (version 1) messages payload (ECEF) More... | |
struct | FpaOdomstatusPayload |
FP_A-ODOMSTATUS (version 1) messages payload. More... | |
struct | FpaPayload |
FP_A payload base class. More... | |
struct | FpaRawimuPayload |
FP_A-RAWIMU (version 1) message payload. More... | |
struct | FpaTextPayload |
FP_A-TEXT (version 1) message payload. More... | |
struct | FpaTfPayload |
FP_A-TF (version 2) message payload. More... | |
struct | FpaTpPayload |
FP_A-TP (versions 1 and 2) message payload. More... | |
Enumerations | |
enum class | FpaInitStatus : int { UNSPECIFIED = '!' , NOT_INIT = '0' , LOCAL_INIT = '1' , GLOBAL_INIT = '2' } |
FP_A fusion initialisation status. More... | |
enum class | FpaFusionStatusLegacy : int { UNSPECIFIED = '!' , NONE = '0' , VISION = '1' , VIO = '2' , IMU_GNSS = '3' , VIO_GNSS = '4' } |
FP_A legacy fusion status. More... | |
enum class | FpaMeasStatus : int { UNSPECIFIED = '!' , NOT_USED = '0' , USED = '1' , DEGRADED = '2' } |
FP_A fusion measurement status. More... | |
enum class | FpaImuStatus : int { UNSPECIFIED = '!' , NOT_CONVERGED = '0' , WARMSTARTED = '1' , ROUGH_CONVERGED = '2' , FINE_CONVERGED = '3' } |
FP_A IMU bias status. More... | |
enum class | FpaImuStatusLegacy : int { UNSPECIFIED = '!' , NOT_CONVERGED = '0' , CONVERGED = '1' } |
FP_A Legacy IMU bias status. More... | |
enum class | FpaImuNoise : int { UNSPECIFIED = '!' , LOW_NOISE = '1' , MEDIUM_NOISE = '2' , HIGH_NOISE = '3' , RESERVED4 = '4' , RESERVED5 = '5' , RESERVED6 = '6' , RESERVED7 = '7' } |
FP_A IMU variance. More... | |
enum class | FpaImuConv : int { UNSPECIFIED = '!' , RESERVED0 = '0' , WAIT_IMU_MEAS = '1' , WAIT_GLOBAL_MEAS = '2' , WAIT_MOTION = '3' , CONVERGING = '4' , RESERVED5 = '5' , RESERVED6 = '6' , IDLE = '7' } |
FP_A IMU accelerometer and gyroscope convergence. More... | |
enum class | FpaGnssStatus : int { UNSPECIFIED = '!' , NO_FIX = '0' , SPP = '1' , RTK_MB = '2' , RESERVED3 = '3' , RESERVED4 = '4' , RTK_FLOAT = '5' , RESERVED6 = '6' , RESERVED7 = '7' , RTK_FIXED = '8' , RESERVED9 = '9' } |
FP_A GNSS fix status. More... | |
enum class | FpaCorrStatus : int { UNSPECIFIED = '!' , WAITING_FUSION = '0' , NO_GNSS = '1' , NO_CORR = '2' , LIMITED_CORR = '3' , OLD_CORR = '4' , GOOD_CORR = '5' , RESERVED6 = '6' , RESERVED7 = '7' , RESERVED8 = '8' , RESERVED9 = '9' } |
FP_A GNSS correction status. More... | |
enum class | FpaBaselineStatus : int { UNSPECIFIED = '!' , WAITING_FUSION = '0' , NO_FIX = '1' , FAILING = '2' , PASSING = '3' } |
FP_A baseline status. More... | |
enum class | FpaCamStatus : int { UNSPECIFIED = '!' , CAM_UNAVL = '0' , BAD_FEAT = '1' , RESERVED2 = '2' , RESERVED3 = '3' , RESERVED4 = '4' , GOOD = '5' } |
FP_A camera status. More... | |
enum class | FpaWsStatus : int { UNSPECIFIED = '!' , NOT_ENABLED = '0' , MISS_MEAS = '1' , NONE_CONVERGED = '2' , ONE_CONVERGED = '3' , ALL_CONVERGED = '4' } |
FP_A wheelspeed status. More... | |
enum class | FpaWsStatusLegacy : int { UNSPECIFIED = '!' , NOT_ENABLED = '-' , NONE_CONVERGED = '0' , ONE_OR_MORE_CONVERGED = '1' } |
FP_A Legacy wheelspeed status. More... | |
enum class | FpaWsConv : int { UNSPECIFIED = '!' , WAIT_FUSION = '0' , WAIT_WS_MEAS = '1' , WAIT_GLOBAL_MEAS = '2' , WAIT_MOTION = '3' , WAIT_IMU_BIAS = '4' , CONVERGING = '5' , IDLE = '6' } |
FP_A wheelspeed convergence status. More... | |
enum class | FpaMarkersStatus : int { UNSPECIFIED = '!' , NOT_ENABLED = '0' , NONE_CONVERGED = '1' , ONE_CONVERGED = '2' , ALL_CONVERGED = '3' } |
FP_A markers status. More... | |
enum class | FpaMarkersConv : int { UNSPECIFIED = '!' , WAIT_FUSION = '0' , WAIT_MARKER_MEAS = '1' , WAIT_GLOBAL_MEAS = '2' , CONVERGING = '3' , IDLE = '4' } |
FP_A markers convergence status. More... | |
enum class | FpaGnssFix : int { UNSPECIFIED = '!' , UNKNOWN = '0' , NOFIX = '1' , DRONLY = '2' , TIME = '3' , S2D = '4' , S3D = '5' , S3D_DR = '6' , RTK_FLOAT = '7' , RTK_FIXED = '8' } |
FP_A GNSS fix type. More... | |
enum class | FpaEpoch : int { UNSPECIFIED = 0 , GNSS1 , GNSS2 , GNSS , FUSION } |
FP_A epoch type. More... | |
enum class | FpaAntState : int { UNSPECIFIED = 0 , OPEN , OK , SHORT } |
FP_A GNSS antenna state. More... | |
enum class | FpaAntPower : int { UNSPECIFIED = 0 , ON , OFF } |
FP_A GNSS antenna power. More... | |
enum class | FpaTextLevel : int { UNSPECIFIED = 0 , ERROR = types::EnumToVal(logging::LoggingLevel::ERROR) , WARNING = types::EnumToVal(logging::LoggingLevel::WARNING) , INFO = types::EnumToVal(logging::LoggingLevel::INFO) , DEBUG = types::EnumToVal(logging::LoggingLevel::DEBUG) } |
FP_A text levels. More... | |
enum class | FpaTimebase : int { UNSPECIFIED = 0 , NONE , GNSS , UTC } |
FP_A time base. More... | |
enum class | FpaTimeref : int { UNSPECIFIED = 0 , UTC_NONE , UTC_CRL , UTC_NIST , UTC_USNO , UTC_BIPM , UTC_EU , UTC_SU , UTC_NTSC , GNSS_GPS , GNSS_GAL , GNSS_BDS , GNSS_GLO , GNSS_NVC , OTHER } |
FP_A time reference. More... | |
Functions | |
bool | FpaGetMessageMeta (FpaMessageMeta &meta, const uint8_t *msg, const std::size_t msg_size) |
Get FP_A message meta data. | |
bool | FpaGetMessageName (char *name, const std::size_t size, const uint8_t *msg, const std::size_t msg_size) |
Get FP_A message name. | |
bool | FpaGetMessageInfo (char *info, const std::size_t size, const uint8_t *msg, const std::size_t msg_size) |
Get FP_A message info. | |
Variables | |
static constexpr uint8_t | FP_A_PREAMBLE = '$' |
FP_A framing preamble. | |
static constexpr int | FP_A_FRAME_SIZE = 6 |
FP_A frame size ("$*cc\r\n") | |
Parser FP_A routines and types.
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
FP_A IMU accelerometer and gyroscope convergence.
|
strong |
|
strong |
FP_A GNSS correction status.
|
strong |
|
strong |
|
strong |
FP_A wheelspeed status.
|
strong |
|
strong |
FP_A wheelspeed convergence status.
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
FP_A time reference.
bool fpsdk::common::parser::fpa::FpaGetMessageMeta | ( | FpaMessageMeta & | meta, |
const uint8_t * | msg, | ||
const std::size_t | msg_size ) |
Get FP_A message meta data.
[out] | meta | The meta data |
[in] | msg | Pointer to the FP_A message |
[in] | msg_size | Size of the FP_A message (>= 11) |
bool fpsdk::common::parser::fpa::FpaGetMessageName | ( | char * | name, |
const std::size_t | size, | ||
const uint8_t * | msg, | ||
const std::size_t | msg_size ) |
Get FP_A message name.
Generates a name (string) in the form "FP_A-MESSAGEID" (for example, "FP_A-ODOMETRY").
[out] | name | String to write the name to |
[in] | size | Size of name (incl. nul termination) |
[in] | msg | Pointer to the FP_A message |
[in] | msg_size | Size of the msg |
name
buffer was too small bool fpsdk::common::parser::fpa::FpaGetMessageInfo | ( | char * | info, |
const std::size_t | size, | ||
const uint8_t * | msg, | ||
const std::size_t | msg_size ) |
Get FP_A message info.
This stringifies the content of some FP_A messages, for debugging.
[out] | info | String to write the info to |
[in] | size | Size of name (incl. nul termination) |
[in] | msg | Pointer to the FP_A message |
[in] | msg_size | Size of the msg |
name
buffer was too small
|
staticconstexpr |