ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I didn't test it yet, but try replacing your subscription to this:
n.subscribe <control_msgs::jointcontrollerstate>
("/rrbot/joint2_position_controller/state", 10,
boost::bind(&PublishOdometry::jointStateCallback2,this,_1,1),this)
2 | No.2 Revision |
I didn't test it yet, but try replacing your subscription to this:
n.subscribe <control_msgs::jointcontrollerstate> ("/rrbot/joint2_position_controller/state", 10,
boost::bind(&PublishOdometry::jointStateCallback2,this,_1,1),this)boost::bind(&PublishOdometry::jointStateCallback2,this,_1,1),this);