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

I had this problem before. In my case, I call a function that has ros publisher in it before declare pub = n.advertise ... in main()

Maybe this will help you