def get_num_entities(self): """Return number of each type of entity used in the wait set.""" num_entities = _rclpy_action.rclpy_action_wait_set_get_num_entities( self._handle) return NumberOfEntities(num_entities[0], num_entities[1], num_entities[2], num_entities[3], num_entities[4])
def get_num_entities(self): """Return number of each type of entity used in the wait set.""" num_entities = _rclpy_action.rclpy_action_wait_set_get_num_entities(self._client_handle) return NumberOfEntities(*num_entities)