Public Member Functions | Private Attributes | List of all members
mavros::std_plugins::TimeSyncStatus Class Reference
Inheritance diagram for mavros::std_plugins::TimeSyncStatus:
Inheritance graph
[legend]

Public Member Functions

void clear ()
 
void run (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
void set_timestamp (uint64_t remote_timestamp_ns)
 
void tick (int64_t rtt_ns, uint64_t remote_timestamp_ns, int64_t time_offset_ns)
 
 TimeSyncStatus (const std::string &name, size_t win_size)
 
- Public Member Functions inherited from diagnostic_updater::DiagnosticTask
 DiagnosticTask (const std::string name)
 
const std::string & getName ()
 
virtual ~DiagnosticTask ()
 

Private Attributes

int count_
 
int hist_indx_
 
uint64_t last_remote_ts
 
int64_t last_rtt
 
const double max_freq_
 
const double min_freq_
 
std::mutex mutex
 
int64_t offset
 
int64_t rtt_sum
 
std::vector< intseq_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 30 of file sys_time.cpp.


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


mavros
Author(s): Vladimir Ermakov
autogenerated on Mon Jul 8 2019 03:20:11