ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The compiler is complaining because the pointer to a JoyStick message passed to your callback is not a valid parameter to the chatter_publisher.publish()
method.
What in the world was that statement supposed to do?
ros::Publisher chatter_publisher.publish(joy_msg);
This is not a forum for basic C++ language questions.