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

What's the message type that you are publishing on topic /circles?

ros::Publisher pub = handle.advertise<std_msgs::empty>("my_topic", 1); ~~~~~~~~~~~~~~~ You are missing this part

What's the message type that you are publishing on topic /circles?

ros::Publisher pub = handle.advertise<std_msgs::empty>("my_topic", handle.advertise<std_msgs::Empty>("my_topic", 1);
                                       ~~~~~~~~~~~~~~~   You are missing this part

part