hebiros_subscribers.cpp
Go to the documentation of this file.
1 #include "hebiros_subscribers.h"
2 
3 #include "hebiros.h"
4 
6 
7 std::map<std::string, ros::Subscriber> HebirosSubscribers::subscribers;
8 
9 bool HebirosSubscribers::jointFound(std::string group_name, std::string joint_name) {
10 
12 
13  return group->joints.find(joint_name) != group->joints.end();
14 }
15 
16 void HebirosSubscribers::jointNotFound(std::string joint_name) {
17  ROS_WARN("Unable to find joint: %s. Command will not be sent.", joint_name.c_str());
18 }
19 
#define ROS_WARN(...)
static HebirosGroupRegistry & Instance()
HebirosGroup * getGroup(const std::string &name)
std::map< std::string, int > joints
Definition: hebiros_group.h:18
static std::map< std::string, ros::Subscriber > subscribers
static bool jointFound(std::string group_name, std::string joint_name)
static void jointNotFound(std::string joint_name)


hebiros
Author(s): Xavier Artache , Matthew Tesch
autogenerated on Thu Sep 3 2020 04:08:14