ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
try changing
nh.subscribe("joint1_controller/state", 10, this->joint_state_cb);
to: nh.subscribe("joint1_controller/state", 10, &joint_move::joint_state_cb);
2 | No.2 Revision |
try changing
changing:nh.subscribe("joint1_controller/state", 10,
this->joint_state_cb);this->joint_state_cb);
to: nh.subscribe("joint1_controller/state", 10, &joint_move::joint_state_cb);