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

Revision history [back]

Perhaps adding a call to ros::shutdown() would help.

int main(int argc, char** argv)
{
  ros::init(argc, argv, "sekonix_camera_ut");
  ros::NodeHandle nh("~");
  ros::shutodnw();  // added
  return 0;
}

ref: http://wiki.ros.org/roscpp/Overview/Initialization%20and%20Shutdown#Shutting_Down_the_Node