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

It's possible that you have some sort of global variable that either is a nodeHandle, or contains a nodeHandle, which is initialized before main() starts.

Are you passing the appropriate arguments to ros::init() ?