13 publishers[
"hebiros/"+group_name+
"/feedback"] =
16 publishers[
"hebiros/"+group_name+
"/feedback/joint_state"] =
18 "hebiros/"+group_name+
"/feedback/joint_state", 100);
20 publishers[
"hebiros/"+group_name+
"/feedback/joint_state_urdf"] =
22 "hebiros/"+group_name+
"/feedback/joint_state_urdf", 100);
24 publishers[
"hebiros/"+group_name+
"/command/joint_state"] =
26 "hebiros/"+group_name+
"/command/joint_state", 100);
31 publishers[
"hebiros/"+group_name+
"/feedback"].publish(feedback_msg);
35 std::string group_name) {
36 publishers[
"hebiros/"+group_name+
"/feedback/joint_state"].publish(joint_state_msg);
38 feedbackJointStateUrdf(joint_state_msg, group_name);
42 std::string group_name) {
51 publishers[
"hebiros/"+group_name+
"/feedback/joint_state_urdf"].publish(joint_state_msg);
56 std::string group_name) {
57 publishers[
"hebiros/"+group_name+
"/command/joint_state"].publish(joint_state_msg);
static std::shared_ptr< ros::NodeHandle > n_ptr
void commandJointState(sensor_msgs::JointState joint_state_msg, std::string group_name)
static HebirosGroupRegistry & Instance()
HebirosGroup * getGroup(const std::string &name)
void feedbackJointState(sensor_msgs::JointState joint_state_msg, std::string group_name)
static std::map< std::string, ros::Publisher > publishers
std::map< std::string, std::string > joint_full_names
void registerGroupPublishers(std::string group_name)
void feedbackJointStateUrdf(sensor_msgs::JointState joint_state_msg, std::string group_name)
void feedback(hebiros::FeedbackMsg feedback_msg, std::string group_name)