Public Member Functions | |
void | clear () |
HeartbeatStatus (const std::string &name, size_t win_size) | |
void | run (diagnostic_updater::DiagnosticStatusWrapper &stat) |
void | tick (uint8_t type_, uint8_t autopilot_, std::string &mode_, uint8_t system_status_) |
Public Member Functions inherited from diagnostic_updater::DiagnosticTask | |
DiagnosticTask (const std::string name) | |
const std::string & | getName () |
virtual | ~DiagnosticTask () |
Private Attributes | |
MAV_AUTOPILOT | autopilot |
int | count_ |
int | hist_indx_ |
const double | max_freq_ |
const double | min_freq_ |
std::string | mode |
std::mutex | mutex |
std::vector< int > | seq_nums_ |
MAV_STATE | system_status |
std::vector< ros::Time > | times_ |
const double | tolerance_ |
MAV_TYPE | type |
const size_t | window_size_ |
Heartbeat status publisher
Based on diagnistic_updater::FrequencyStatus
Definition at line 50 of file sys_status.cpp.