30 #ifndef SWRI_ROSCPP_OPTIONAL_DIAGNOSED_PUBLISHER_H_ 31 #define SWRI_ROSCPP_OPTIONAL_DIAGNOSED_PUBLISHER_H_ 78 wrapper.message =
"Diagnostic disabled.";
virtual ~OptionalDiagnosedPublisher()
virtual void setEnabled(bool enabled)
OptionalDiagnosedPublisher(const ros::Publisher &pub, diagnostic_updater::Updater &diag, const diagnostic_updater::FrequencyStatusParam &freq, const diagnostic_updater::TimeStampStatusParam &stamp)
void summary(unsigned char lvl, const std::string s)
virtual void run(diagnostic_updater::DiagnosticStatusWrapper &stat)
virtual void run(DiagnosticStatusWrapper &stat)
bool is_diagnostic_enabled_
DiagnosedPublisher(const ros::Publisher &pub, diagnostic_updater::Updater &diag, const diagnostic_updater::FrequencyStatusParam &freq, const diagnostic_updater::TimeStampStatusParam &stamp)