PX4 Firmware
PX4 Autopilot Software http://px4.io
px4::Replay::Subscription Struct Reference

#include <Replay.hpp>

Collaboration diagram for px4::Replay::Subscription:

Public Attributes

const orb_metadataorb_meta = nullptr
 if nullptr, this subscription is invalid More...
 
orb_advert_t orb_advert = nullptr
 
uint8_t multi_id
 
int timestamp_offset
 marks the field of the timestamp More...
 
bool ignored = false
 if true, it will not be considered for publication in the main loop More...
 
std::streampos next_read_pos
 
uint64_t next_timestamp
 timestamp of the file More...
 
CompatBasecompat = nullptr
 
int error_counter = 0
 
int publication_counter = 0
 

Detailed Description

Definition at line 128 of file Replay.hpp.

Member Data Documentation

◆ compat

CompatBase* px4::Replay::Subscription::compat = nullptr

Definition at line 140 of file Replay.hpp.

Referenced by px4::Replay::publishTopic(), and px4::Replay::readAndAddSubscription().

◆ error_counter

int px4::Replay::Subscription::error_counter = 0

◆ ignored

bool px4::Replay::Subscription::ignored = false

if true, it will not be considered for publication in the main loop

Definition at line 135 of file Replay.hpp.

Referenced by px4::ReplayEkf2::onSubscriptionAdded(), and px4::Replay::run().

◆ multi_id

uint8_t px4::Replay::Subscription::multi_id

◆ next_read_pos

std::streampos px4::Replay::Subscription::next_read_pos

◆ next_timestamp

uint64_t px4::Replay::Subscription::next_timestamp

timestamp of the file

Definition at line 138 of file Replay.hpp.

Referenced by px4::ReplayEkf2::findTimestampAndPublish(), px4::Replay::nextDataMessage(), and px4::Replay::run().

◆ orb_advert

orb_advert_t px4::Replay::Subscription::orb_advert = nullptr

Definition at line 131 of file Replay.hpp.

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

◆ orb_meta

◆ publication_counter

int px4::Replay::Subscription::publication_counter = 0

Definition at line 144 of file Replay.hpp.

Referenced by px4::ReplayEkf2::onExitMainLoop(), and px4::Replay::publishTopic().

◆ timestamp_offset

int px4::Replay::Subscription::timestamp_offset

marks the field of the timestamp

Definition at line 133 of file Replay.hpp.

Referenced by px4::Replay::nextDataMessage(), px4::Replay::readAndAddSubscription(), and px4::Replay::run().


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