void stop ()
  {
    if (!running)
      return;

    cam_->stop ();              // Must stop camera before streaming_pub_.
    poll_srv_.shutdown ();
    streaming_pub_.shutdown ();

    running = false;
  }
예제 #2
0
	~CobColorCameraNode()
	{
		image_poll_server_.shutdown();
		color_camera_->Close();
	}