ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 2013-12-13 10:11:46 -0500

joq gravatar image

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.