Fixposition SDK 0.0.0-heads/main-0-g90a51ff
Collection of c++ libraries and apps for use with Fixposition products
|
FP_A-ODOM... (version 1) messages payload. More...
#include <fpa.hpp>
Public Types | |
enum class | Which { UNSPECIFIED , ODOMETRY , ODOMENU , ODOMSH } |
Data from which FP_A-...IMU is stored. More... | |
Public Member Functions | |
virtual bool | SetFromMsg (const uint8_t *msg, const std::size_t msg_size)=0 |
Set data from message. | |
Public Member Functions inherited from fpsdk::common::parser::fpa::FpaPayload | |
virtual | ~FpaPayload ()=default |
Virtual dtor for polymorphism. | |
Public Attributes | |
Which | which = Which::UNSPECIFIED |
Indicates from which message the data is. | |
FpaGpsTime | gps_time |
Time. | |
FpaFloat3 | pos |
Position, X/Y/Z components. | |
FpaFloat4 | orientation |
Quaternion, W/X/Y/Z components. | |
FpaFloat3 | vel |
Velocity, X/Y/Z components. | |
FpaFloat3 | rot |
Bias corrected angular velocity, X/Y/Z components. | |
FpaFloat3 | acc |
Bias corrected acceleration, X/Y/Z components. | |
FpaFusionStatusLegacy | fusion_status |
Fustion status. | |
FpaImuStatusLegacy | imu_bias_status |
IMU bias status. | |
FpaGnssFix | gnss1_fix |
Fix status of GNSS1 receiver. | |
FpaGnssFix | gnss2_fix |
Fix status of GNSS2 receiver. | |
FpaWsStatusLegacy | wheelspeed_status |
Wheelspeed status. | |
FpaFloat6 | pos_cov |
Position covariance, XX/YY/ZZ/XY/YZ/XZ components. | |
FpaFloat6 | orientation_cov |
Orientation covariance, XX/YY/ZZ/XY/YZ/XZ components. | |
FpaFloat6 | vel_cov |
Velocity covariance, XX/YY/ZZ/XY/YZ/XZ components. | |
char | version [100] = { 0 } |
Version. | |
Public Attributes inherited from fpsdk::common::parser::fpa::FpaPayload | |
bool | valid_ = false |
Payload successfully decoded (true), or not (yet) decoded (false) | |
|
strong |
|
pure virtual |
Set data from message.
[in] | msg | Pointer to the FP_A message |
[in] | msg_size | Size of the FP_A message (>= 11) |
Implemented in fpsdk::common::parser::fpa::FpaOdomenuPayload, fpsdk::common::parser::fpa::FpaOdometryPayload, and fpsdk::common::parser::fpa::FpaOdomshPayload.
Which fpsdk::common::parser::fpa::FpaOdomPayload::which = Which::UNSPECIFIED |
FpaGpsTime fpsdk::common::parser::fpa::FpaOdomPayload::gps_time |
FpaFloat3 fpsdk::common::parser::fpa::FpaOdomPayload::pos |
FpaFloat4 fpsdk::common::parser::fpa::FpaOdomPayload::orientation |
FpaFloat3 fpsdk::common::parser::fpa::FpaOdomPayload::vel |
FpaFloat3 fpsdk::common::parser::fpa::FpaOdomPayload::rot |
FpaFloat3 fpsdk::common::parser::fpa::FpaOdomPayload::acc |
FpaFusionStatusLegacy fpsdk::common::parser::fpa::FpaOdomPayload::fusion_status |
FpaImuStatusLegacy fpsdk::common::parser::fpa::FpaOdomPayload::imu_bias_status |
FpaGnssFix fpsdk::common::parser::fpa::FpaOdomPayload::gnss1_fix |
FpaGnssFix fpsdk::common::parser::fpa::FpaOdomPayload::gnss2_fix |
FpaWsStatusLegacy fpsdk::common::parser::fpa::FpaOdomPayload::wheelspeed_status |
FpaFloat6 fpsdk::common::parser::fpa::FpaOdomPayload::pos_cov |
FpaFloat6 fpsdk::common::parser::fpa::FpaOdomPayload::orientation_cov |
FpaFloat6 fpsdk::common::parser::fpa::FpaOdomPayload::vel_cov |
char fpsdk::common::parser::fpa::FpaOdomPayload::version[100] = { 0 } |