Public Member Functions | Private Attributes
mavplugin::TimeSyncStatus Class Reference
Inheritance diagram for mavplugin::TimeSyncStatus:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void clear ()
void run (diagnostic_updater::DiagnosticStatusWrapper &stat)
void set_timestamp (uint64_t timestamp_ns)
void tick (int64_t dt, uint64_t timestamp_ns, int64_t time_offset_ns)
 TimeSyncStatus (const std::string &name, size_t win_size)

Private Attributes

int count_
int64_t dt_sum
int hist_indx_
int64_t last_dt
uint64_t last_ts
const double max_freq_
const double min_freq_
std::recursive_mutex mutex
int64_t offset
std::vector< int > seq_nums_
std::vector< ros::Timetimes_
const double tolerance_
const size_t window_size_

Detailed Description

Time syncronization status publisher

Based on diagnistic_updater::FrequencyStatus

Definition at line 29 of file sys_time.cpp.


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


mavros
Author(s): Vladimir Ermakov
autogenerated on Sat Jun 8 2019 19:55:20