PX4 Firmware
PX4 Autopilot Software http://px4.io
px4::Replay::CompatSensorCombinedDtType Class Reference

#include <Replay.hpp>

Inheritance diagram for px4::Replay::CompatSensorCombinedDtType:
Collaboration diagram for px4::Replay::CompatSensorCombinedDtType:

Public Member Functions

 CompatSensorCombinedDtType (int gyro_integral_dt_offset_log, int gyro_integral_dt_offset_intern, int accelerometer_integral_dt_offset_log, int accelerometer_integral_dt_offset_intern)
 
void * apply (void *data) override
 apply compatibility to a topic More...
 
- Public Member Functions inherited from px4::Replay::CompatBase
virtual ~CompatBase ()=default
 

Private Attributes

int _gyro_integral_dt_offset_log
 
int _gyro_integral_dt_offset_intern
 
int _accelerometer_integral_dt_offset_log
 
int _accelerometer_integral_dt_offset_intern
 

Detailed Description

Definition at line 114 of file Replay.hpp.

Constructor & Destructor Documentation

◆ CompatSensorCombinedDtType()

px4::Replay::CompatSensorCombinedDtType::CompatSensorCombinedDtType ( int  gyro_integral_dt_offset_log,
int  gyro_integral_dt_offset_intern,
int  accelerometer_integral_dt_offset_log,
int  accelerometer_integral_dt_offset_intern 
)

Definition at line 77 of file Replay.cpp.

Referenced by px4::Replay::readAndAddSubscription().

Here is the caller graph for this function:

Member Function Documentation

◆ apply()

void * px4::Replay::CompatSensorCombinedDtType::apply ( void *  data)
overridevirtual

apply compatibility to a topic

Parameters
datainput topic (can be modified in place)
Returns
new topic data

Implements px4::Replay::CompatBase.

Definition at line 97 of file Replay.cpp.

References _accelerometer_integral_dt_offset_intern, _accelerometer_integral_dt_offset_log, _gyro_integral_dt_offset_intern, _gyro_integral_dt_offset_log, and data.

Member Data Documentation

◆ _accelerometer_integral_dt_offset_intern

int px4::Replay::CompatSensorCombinedDtType::_accelerometer_integral_dt_offset_intern
private

Definition at line 125 of file Replay.hpp.

Referenced by apply().

◆ _accelerometer_integral_dt_offset_log

int px4::Replay::CompatSensorCombinedDtType::_accelerometer_integral_dt_offset_log
private

Definition at line 124 of file Replay.hpp.

Referenced by apply().

◆ _gyro_integral_dt_offset_intern

int px4::Replay::CompatSensorCombinedDtType::_gyro_integral_dt_offset_intern
private

Definition at line 123 of file Replay.hpp.

Referenced by apply().

◆ _gyro_integral_dt_offset_log

int px4::Replay::CompatSensorCombinedDtType::_gyro_integral_dt_offset_log
private

Definition at line 122 of file Replay.hpp.

Referenced by apply().


The documentation for this class was generated from the following files: