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< int > | seq_nums_ |
std::vector< ros::Time > | times_ |
const double | tolerance_ |
const size_t | window_size_ |
Time syncronization status publisher
Based on diagnistic_updater::FrequencyStatus
Definition at line 30 of file sys_time.cpp.