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

Revision history [back]

The message type that is the argument for the callback determines the message type for the subscriber. If you use the wrong message type there, you should get an error at runtime that says message types between publisher and subscriber do not match (red ROS_ERROR logging). This would only appear if you have a actual topic connection, however. Are you sure that is the case?