![]()  | 
  
    Fixposition SDK 0.0.0-heads/main-0-gb93ddb4
    
   Collection of c++ libraries and apps for use with Fixposition products on Linux 
   | 
 
Fixposition SDK: Parser FP_B routines and types. More...
Go to the source code of this file.
Classes | |
| struct | fpsdk::common::parser::fpb::FpbMeasurementsHead | 
| FP_B-MEASUREMENTS payload: head.  More... | |
| struct | fpsdk::common::parser::fpb::FpbMeasurementsMeas | 
| FP_B-MEASUREMENTS payload: measurement.  More... | |
| struct | fpsdk::common::parser::fpb::FpbVersionPayload | 
| FP_B-VERSION payload: head.  More... | |
Namespaces | |
| namespace | fpsdk | 
| Fixposition SDK.  | |
| namespace | fpsdk::common | 
| Fixposition SDK: Common library.  | |
| namespace | fpsdk::common::parser | 
| Parser.  | |
| namespace | fpsdk::common::parser::fpb | 
| Parser FP_B routines and types.  | |
Functions | |
| constexpr uint16_t | fpsdk::common::parser::fpb::FpbMsgId (const uint8_t *msg) | 
| Get message ID.   | |
| constexpr uint16_t | fpsdk::common::parser::fpb::FpbMsgTime (const uint8_t *msg) | 
| Get message time.   | |
| bool | fpsdk::common::parser::fpb::FpbGetMessageName (char *name, const std::size_t size, const uint8_t *msg, const std::size_t msg_size) | 
| Get FP_B message name.   | |
| bool | fpsdk::common::parser::fpb::FpbGetMessageInfo (char *info, const std::size_t size, const uint8_t *msg, const std::size_t msg_size) | 
| Get FP_B message info.   | |
| bool | fpsdk::common::parser::fpb::FpbMakeMessage (std::vector< uint8_t > &msg, const uint16_t msg_id, const uint16_t msg_time, const std::vector< uint8_t > &payload) | 
| Make a FP_B message.   | |
| bool | fpsdk::common::parser::fpb::FpbMakeMessage (std::vector< uint8_t > &msg, const uint16_t msg_id, const uint16_t msg_time, const uint8_t *payload, const std::size_t payload_size) | 
| Make a FP_B message.   | |
Variables | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static constexpr std::size_t | fpsdk::common::parser::fpb::FP_B_FRAME_SIZE = 12 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Size (in bytes) of FP_B frame.   | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static constexpr std::size_t | fpsdk::common::parser::fpb::FP_B_HEAD_SIZE = 8 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Size of FP_B frame header.   | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static constexpr uint8_t | fpsdk::common::parser::fpb::FP_B_SYNC_1 = 0x66 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FP_B frame sync char 1 ('f', 102, 0b0110'0110)   | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static constexpr uint8_t | fpsdk::common::parser::fpb::FP_B_SYNC_2 = 0x21 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FP_B frame sync char 2 ('!', 33, 0b0010'0001)   | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
FP_B messages (names and IDs)  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static constexpr uint16_t | fpsdk::common::parser::fpb::FP_B_GNSSSTATUS_MSGID = 1201 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FP_B-GNSSSTATUS message ID.   | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static constexpr const char * | fpsdk::common::parser::fpb::FP_B_GNSSSTATUS_STRID = "FP_B-GNSSSTATUS" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FP_B-GNSSSTATUS message name.   | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static constexpr uint16_t | fpsdk::common::parser::fpb::FP_B_SYSTEMSTATUS_MSGID = 1301 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FP_B-SYSTEMSTATUS message ID.   | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static constexpr const char * | fpsdk::common::parser::fpb::FP_B_SYSTEMSTATUS_STRID = "FP_B-SYSTEMSTATUS" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FP_B-SYSTEMSTATUS message name.   | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static constexpr uint16_t | fpsdk::common::parser::fpb::FP_B_MEASUREMENTS_MSGID = 2001 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FP_B-MEASUREMENTS message ID.   | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static constexpr const char * | fpsdk::common::parser::fpb::FP_B_MEASUREMENTS_STRID = "FP_B-MEASUREMENTS" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FP_B-MEASUREMENTS message name.   | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static constexpr uint16_t | fpsdk::common::parser::fpb::FP_B_VERSION_MSGID = 2301 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FP_B-VERSION message ID.   | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static constexpr const char * | fpsdk::common::parser::fpb::FP_B_VERSION_STRID = "FP_B-VERSION" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FP_B-VERSION message name.   | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static constexpr uint16_t | fpsdk::common::parser::fpb::FP_B_UNITTEST1_MSGID = 65001 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FP_B-UNITTEST1 message ID.   | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static constexpr const char * | fpsdk::common::parser::fpb::FP_B_UNITTEST1_STRID = "FP_B-UNITTEST1" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FP_B-UNITTEST1 message name.   | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static constexpr uint16_t | fpsdk::common::parser::fpb::FP_B_UNITTEST2_MSGID = 65002 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FP_B-UNITTEST2 message ID.   | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static constexpr const char * | fpsdk::common::parser::fpb::FP_B_UNITTEST2_STRID = "FP_B-UNITTEST2" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FP_B-UNITTEST2 message name.   | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
FP_B-VERSION  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
This message contains version strings. Payload fields: 
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static constexpr uint8_t | fpsdk::common::parser::fpb::FP_B_VERSION_V1 = 0x01 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FP_B-VERSION.version value.   | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static constexpr std::size_t | fpsdk::common::parser::fpb::FP_B_VERSION_PAYLOAD_SIZE = 232 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Size of FpbVersionPayload.   | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
FP_B-MEASUREMENTS | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 This message is used to input measurements, such as wheelspeeds, to the sensor. Notes: 
 Payload fields: 
 Valid meas_type values are: 
 Valid meas_loc values are: 
 Valid timestamp_type values are: 
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| enum class | fpsdk::common::parser::fpb::FpbMeasurementsMeasType : uint8_t { fpsdk::common::parser::fpb::UNSPECIFIED = 0 , fpsdk::common::parser::fpb::VELOCITY = 1 } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FP_B-MEASUREMENTS measurement type.  More... | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| enum class | fpsdk::common::parser::fpb::FpbMeasurementsMeasLoc : uint8_t {  fpsdk::common::parser::fpb::UNSPECIFIED = 0 , fpsdk::common::parser::fpb::RC = 1 , fpsdk::common::parser::fpb::FR = 2 , fpsdk::common::parser::fpb::FL = 3 , fpsdk::common::parser::fpb::RR = 4 , fpsdk::common::parser::fpb::RL = 5 }  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FP_B-MEASUREMENTS measurement location.  More... | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| enum class | fpsdk::common::parser::fpb::FpbMeasurementsTimestampType : uint8_t { fpsdk::common::parser::fpb::UNSPECIFIED = 0 , fpsdk::common::parser::fpb::TIMEOFARRIVAL = 1 , fpsdk::common::parser::fpb::MONOTONIC = 2 , fpsdk::common::parser::fpb::GPS = 3 } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FP_B-MEASUREMENTS timestamp type.  More... | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static constexpr uint8_t | fpsdk::common::parser::fpb::FP_B_MEASUREMENTS_V1 = 0x01 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FP_B-MEASUREMENTS.version value.   | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static constexpr std::size_t | fpsdk::common::parser::fpb::FP_B_MEASUREMENTS_HEAD_SIZE = 8 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FP_B-MEASUREMENTS payload head size.   | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static constexpr std::size_t | fpsdk::common::parser::fpb::FP_B_MEASUREMENTS_MEAS_SIZE = 28 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Size of FpbMeasurementsMeas.   | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static constexpr std::size_t | fpsdk::common::parser::fpb::FP_B_MEASUREMENTS_MAX_NUM_MEAS = 10 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Maximum number of measurements.   | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Fixposition SDK: Parser FP_B routines and types.
* ___ ___ * \ \ / / * \ \/ / Copyright (c) Fixposition AG (www.fixposition.com) and contributors * / /\ \ License: see the LICENSE file * /__/ \__\ * * Based on work by flipflip (https://github.com/phkehl) *
Definition in file fpb.hpp.