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

The rosout topic is advertised by ros::init as part of the node setup; you don't need to advertise on it yourself.

In addition, ROS_INFO and the associated logging macros already handle publishing to rosout.

The publisher you've created conflicts with the default publisher, which is why you're getting this error message.