def stop(self):
        """ Stop the sensor """
        # check that everything is running
        if not self._running:
            logging.warning('Ensenso not running. Aborting stop')
            return False

        # stop subs
        self._pointcloud_sub.unregister()
        self._camera_info_sub.unregister()
        self._running = False
        return True