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::FpaRawimuPayload Struct Reference

FP_A-RAWIMU (version 1) message payload. More...

#include <fpa.hpp>

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

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-RAWIMU"
 Message name.
 

Additional Inherited Members

- Public Types inherited from fpsdk::common::parser::fpa::FpaImuPayload
enum class  Which { UNSPECIFIED , RAWIMU , CORRIMU }
 Data from which FP_A-...IMU is stored. More...
 
- Public Attributes inherited from fpsdk::common::parser::fpa::FpaImuPayload
Which which = Which::UNSPECIFIED
 Indicates from which message the data is.
 
FpaGpsTime gps_time
 Time.
 
FpaFloat3 acc
 Raw acceleration in output frame, X/Y/Z components.
 
FpaFloat3 rot
 Raw angular velocity in output frame, X/Y/Z components.
 
- 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-RAWIMU (version 1) message payload.

Definition at line 653 of file fpa.hpp.

Member Function Documentation

◆ SetFromMsg()

bool fpsdk::common::parser::fpa::FpaRawimuPayload::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::FpaImuPayload.

Member Data Documentation

◆ MSG_NAME

const char* fpsdk::common::parser::fpa::FpaRawimuPayload::MSG_NAME = "FP_A-RAWIMU"
staticconstexpr

Message name.

Definition at line 657 of file fpa.hpp.


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