Go to the documentation of this file.
69 stat.
addf(
"velocity " + velocity_h.getName(),
70 " %s (listening to %s @ %fs with priority #%d)",
72 velocity_h.getTopic().c_str(),
73 velocity_h.getTimeout(),
74 static_cast<int>(velocity_h.getPriority()));
79 stat.
addf(
"lock " + lock_h.getName(),
80 " %s (listening to %s @ %fs with priority #%d)",
81 (lock_h.isLocked() ?
"locked" :
"free"),
82 lock_h.getTopic().c_str(),
84 static_cast<int>(lock_h.getPriority()));
boost::shared_ptr< TwistMux::lock_topic_container > lock_hs
void diagnostics(diagnostic_updater::DiagnosticStatusWrapper &stat)
void add(const std::string &key, const bool &b)
void updateStatus(const status_type::ConstPtr &status)
virtual ~TwistMuxDiagnostics()
boost::shared_ptr< TwistMux::velocity_topic_container > velocity_hs
void summary(const diagnostic_msgs::DiagnosticStatus &src)
void setHardwareID(const std::string &hwid)
static constexpr double MAIN_LOOP_TIME_MIN
void addf(const std::string &key, const char *format,...)
diagnostic_updater::Updater diagnostic_
static constexpr double READING_AGE_MIN
void add(const std::string &name, TaskFunction f)
#define ROS_DEBUG_THROTTLE(period,...)
LockTopicHandle::priority_type priority
twist_mux
Author(s): Enrique Fernandez
, Siegfried-A. Gevatter Pujals
autogenerated on Wed Oct 26 2022 02:18:09