7 int main(
int argc,
char **argv) {
18 nh_private.
getParam(
"evidence_topics", evidence_topics);
21 ROS_ERROR(
"Parameter 'evidence_topics' should be an array.");
25 for (
int i = 0; i < evidence_topics.
size(); ++i) {
29 ROS_ERROR(
"Each evidence topic must be a string.");
void registerEvidenceTopic(const std::string &topic_name)
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
Type const & getType() const
ROSCPP_DECL void spin(Spinner &spinner)
bool getParam(const std::string &key, std::string &s) const
int main(int argc, char **argv)