Exemplo n.º 1
0
		/*!
		* \brief Destructor for PowercubeChainNode class.
		*/
		~PowercubeChainNode()
		{
			bool closed = PCube_->Close();
			if (closed) ROS_INFO("PowerCube Device closed!");
			if (sem_can_available) sem_close(can_sem);
		}
  /// Destructor
  ~PowerCubeChainNode()
  {
	  bool closed = pc_ctrl_->Close();
	  if (closed)
      ROS_INFO("PowerCube Device closed!");
  }