src/tools/benchmark_tool/benchmark_tool/benchmark_task/euclidean_cluster_node_task.py
def run(self):
        """
        Run the task.

        This function is called repeatedly in a loop until the task has finished its operations.
        It uses a Player class instance to play the pointcloud data to the blackbox system.
        When there is no more data to play, the task waits SHUTDOWN_TICK_WAIT before notifying the
        end of any operation using the return value.

        @return True: if the task has not finished operation, False when the task has nothing more
            to do
        """
        # Check if the player has data to play
        if not self._data_player.play_data():
            if self._shutdown_counter > self.SHUTDOWN_TICK_WAIT:
                # Return running state of the task: stopping
                return False
            elif self._shutdown_counter == 0:
                print("")  # needed to keep visualizing the progress bar
                info(self.node,
                     "No more data to play, waiting last frames...")

            self._shutdown_counter += 1

        # Return running state of the task: running
        return True

        Run the task.

        This function is called repeatedly in a loop until the task has finished its operations.
        It uses a Player class instance to play the pointcloud data to the blackbox system.
        When there is no more data to play, the task waits SHUTDOWN_TICK_WAIT before notifying the
        end of any operation using the return value.

        @return True: if the task has not finished operation, False when the task has nothing more
            to do
        
Run the task.
This function is called repeatedly in a loop until the task has finished its operations.
It uses a Player class instance to play the pointcloud data to the blackbox system.
When there is no more data to play, the task waits SHUTDOWN_TICK_WAIT before notifying the
end of any operation using the return value.

@return True: if the task has not finished operation, False when the task has nothing more
to do
Run the task . This function is called repeatedly in a loop until the task has finished its operations . It uses a Player class instance to play the pointcloud data to the blackbox system . When there is no more data to play the task waits SHUTDOWN_TICK_WAIT before notifying the end of any operation using the return value . @return True : if the task has not finished operation False when the task has nothing more to do
def run(self):
        if not self._data_player.play_data():
            if self._shutdown_counter > self.SHUTDOWN_TICK_WAIT:
                return False
            elif self._shutdown_counter == 0:
                print("")  
                info(self.node,
                     "No more data to play, waiting last frames...")
            self._shutdown_counter += 1
        return True
def run ( self ) : if not self . _data_player . play_data ( ) : if self . _shutdown_counter > self . SHUTDOWN_TICK_WAIT : return False elif self . _shutdown_counter == 0 : print ( "" ) info ( self . node , "No more data to play, waiting last frames..." ) self . _shutdown_counter += 1 return True
Run the task.
Run the task .
"""
        Run the task.

        This function is called repeatedly in a loop until the task has finished its operations.
        It uses a Player class instance to play the pointcloud data to the blackbox system.
        When there is no more data to play, the task waits SHUTDOWN_TICK_WAIT before notifying the
        end of any operation using the return value.

        @return True: if the task has not finished operation, False when the task has nothing more
            to do
        """ # Check if the player has data to play # Return running state of the task: stopping # needed to keep visualizing the progress bar # Return running state of the task: running
self