ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Put a "&" in front of controllerStateCB: ros::Subscriber sub = handle.subscribe("r_arm_controller/state", 1000, &controllerStateCB);
;)
2 | No.2 Revision |
Put a "&" in front of controllerStateCB: controllerStateCB ;)
ros::Subscriber sub = handle.subscribe("r_arm_controller/state", 1000,
&controllerStateCB);&controllerStateCB);;)