54 pnh_.
param(
"vital_rate", vital_rate, 1.0);
68 boost::mutex::scoped_lock lock(
mutex_);
70 stat.
summary(diagnostic_msgs::DiagnosticStatus::ERROR,
71 "not initialized. Is " 76 stat.
summary(diagnostic_msgs::DiagnosticStatus::OK,
80 stat.
summary(diagnostic_msgs::DiagnosticStatus::ERROR,
81 "subscribed but no input. Is " 87 stat.
summary(diagnostic_msgs::DiagnosticStatus::OK,
96 boost::mutex::scoped_lock lock(
mutex_);
116 boost::mutex::scoped_lock lock(
mutex_);
132 boost::mutex::scoped_lock lock(
mutex_);
147 const std::string&
topic)
156 msg->getMessageDefinition(),
164 jsk_topic_tools::ChangeTopic::Request &req,
165 jsk_topic_tools::ChangeTopic::Response &res)
167 boost::mutex::scoped_lock lock(
mutex_);
boost::function< void(const SingleSubscriberPublisher &)> SubscriberStatusCallback
void publish(const boost::shared_ptr< M > &message) const
void summary(unsigned char lvl, const std::string s)
Subscriber subscribe(const std::string &topic, uint32_t queue_size, void(T::*fp)(M), T *obj, const TransportHints &transport_hints=TransportHints())
std::string resolveName(const std::string &name, bool remap=true) const
const std::string & getName() const
PLUGINLIB_EXPORT_CLASS(jsk_topic_tools::Snapshot, nodelet::Nodelet)
ServiceServer advertiseService(const std::string &service, bool(T::*srv_func)(MReq &, MRes &), T *obj)
ros::NodeHandle & getPrivateNodeHandle() const
bool param(const std::string ¶m_name, T ¶m_val, const T &default_val) const
Publisher advertise(const std::string &topic, uint32_t queue_size, bool latch=false)
uint32_t getNumSubscribers() const
jsk_topic_tools::Relay Relay
void add(const std::string &key, const T &val)
#define NODELET_DEBUG(...)