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

FP_A-...IMU (versions 1 and 2) messages payload. More...

#include <fpa.hpp>

Inheritance diagram for fpsdk::common::parser::fpa::FpaImuPayload:
[legend]
Collaboration diagram for fpsdk::common::parser::fpa::FpaImuPayload:
[legend]

Public Types

enum class  Which { UNSPECIFIED , RAWIMU , CORRIMU }
 Data from which FP_A-...IMU is stored. More...

Public Attributes

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.
bool bias_comp = false
 Signal is bias compensated (true) or not (false), always false for RAWIMU, may be true for CORRIMU.
FpaImuStatus imu_status = FpaImuStatus::UNSPECIFIED
 IMU bias status (only available for version 2 messages)
Public Attributes inherited from fpsdk::common::parser::fpa::FpaPayload
bool valid_ = false
 Payload successfully decoded (true), or not (yet) decoded (false)
FpaMessageType msg_type_ = FpaMessageType::UNSPECIFIED
 Message (payload) type.

Additional Inherited Members

Public Member Functions inherited from fpsdk::common::parser::fpa::FpaPayload
virtual ~FpaPayload ()=default
 Virtual dtor for polymorphism.
virtual bool SetFromMsg (const uint8_t *msg, const std::size_t msg_size)=0
 Set data from message.
bool SetFromBuf (const std::vector< uint8_t > &buf)
 Set data from message.

Detailed Description

FP_A-...IMU (versions 1 and 2) messages payload.

Definition at line 654 of file fpa.hpp.

Member Enumeration Documentation

◆ Which

Data from which FP_A-...IMU is stored.

Enumerator
UNSPECIFIED 

Unspecified.

RAWIMU 

Data is from FP_A-RAWIMU.

CORRIMU 

Data is from FP_A-CORRIMU.

Definition at line 657 of file fpa.hpp.

Member Data Documentation

◆ which

Which fpsdk::common::parser::fpa::FpaImuPayload::which = Which::UNSPECIFIED

Indicates from which message the data is.

Definition at line 663 of file fpa.hpp.

◆ gps_time

FpaGpsTime fpsdk::common::parser::fpa::FpaImuPayload::gps_time

Time.

Definition at line 665 of file fpa.hpp.

◆ acc

FpaFloat3 fpsdk::common::parser::fpa::FpaImuPayload::acc

Raw acceleration in output frame, X/Y/Z components.

Definition at line 666 of file fpa.hpp.

◆ rot

FpaFloat3 fpsdk::common::parser::fpa::FpaImuPayload::rot

Raw angular velocity in output frame, X/Y/Z components.

Definition at line 667 of file fpa.hpp.

◆ bias_comp

bool fpsdk::common::parser::fpa::FpaImuPayload::bias_comp = false

Signal is bias compensated (true) or not (false), always false for RAWIMU, may be true for CORRIMU.

Definition at line 668 of file fpa.hpp.

◆ imu_status

FpaImuStatus fpsdk::common::parser::fpa::FpaImuPayload::imu_status = FpaImuStatus::UNSPECIFIED

IMU bias status (only available for version 2 messages)

Definition at line 669 of file fpa.hpp.


The documentation for this struct was generated from the following file:
  • fpsdk_common/include/fpsdk_common/parser/fpa.hpp