Fixposition SDK 0.0.0-heads/main-0-g90a51ff
Collection of c++ libraries and apps for use with Fixposition products
Loading...
Searching...
No Matches
fpsdk::common::parser::fpa::FpaOdomshPayload Struct Reference

FP_A-ODOMSH (version 1) messages payload (ECEF) More...

#include <fpa.hpp>

Inheritance diagram for fpsdk::common::parser::fpa::FpaOdomshPayload:
Collaboration diagram for fpsdk::common::parser::fpa::FpaOdomshPayload:

Public Member Functions

bool SetFromMsg (const uint8_t *msg, const std::size_t msg_size) final
 Set data from message.
 
- Public Member Functions inherited from fpsdk::common::parser::fpa::FpaPayload
virtual ~FpaPayload ()=default
 Virtual dtor for polymorphism.
 

Static Public Attributes

static constexpr const char * MSG_NAME = "FP_A-ODOMSH"
 Message name.
 

Additional Inherited Members

- Public Types inherited from fpsdk::common::parser::fpa::FpaOdomPayload
enum class  Which { UNSPECIFIED , ODOMETRY , ODOMENU , ODOMSH }
 Data from which FP_A-...IMU is stored. More...
 
- Public Attributes inherited from fpsdk::common::parser::fpa::FpaOdomPayload
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)
 

Detailed Description

FP_A-ODOMSH (version 1) messages payload (ECEF)

Definition at line 791 of file fpa.hpp.

Member Function Documentation

◆ SetFromMsg()

bool fpsdk::common::parser::fpa::FpaOdomshPayload::SetFromMsg ( const uint8_t * msg,
const std::size_t msg_size )
finalvirtual

Set data from message.

Parameters
[in]msgPointer to the FP_A message
[in]msg_sizeSize of the FP_A message (>= 11)
Returns
true if sentence payload was correct and all data could be extracted (fields are now valid), or false otherwise (fields are now invalid)

Implements fpsdk::common::parser::fpa::FpaOdomPayload.

Member Data Documentation

◆ MSG_NAME

const char* fpsdk::common::parser::fpa::FpaOdomshPayload::MSG_NAME = "FP_A-ODOMSH"
staticconstexpr

Message name.

Definition at line 795 of file fpa.hpp.


The documentation for this struct was generated from the following file: