def generate_obstacles(self):
        obstacles = self.get_obstable_metrics()
        # Container to store Obstacles
        obstacle_arrays = []

        # Iterate through Obstacle Details
        for nb_obstacle in obstacles:
            empty_array = np.zeros(shape=(self.WINDOW_HEIGHT,
                                          self.WINDOW_WIDTH))
            start_location = 0 if nb_obstacle[2] == 1 else self.WINDOW_HEIGHT
            y, x = start_location - 1, nb_obstacle[3]
            empty_array[y, x] = 1

            for w_value in range(nb_obstacle[0]):
                x_updated = x + w_value

                for h_value in range(nb_obstacle[1]):

                    if nb_obstacle[2] == 1:
                        y_updated = y + h_value
                    else:
                        y_updated = y - h_value
                    # Replace Value

                    empty_array[y_updated, x_updated] = -1

            new_array = self.trim_whitespace(empty_array,
                                             nb_obstacle[2],
                                             self.MIN_GAP)
            obstacle_arrays.append(new_array)

        return obstacle_arrays
Provide the target for a policy request.
dataset/ETHPy150Open dandxy89/rf_helicopter/Model/Generate_obstacles.py/Obstacle_Tracks.generate_obstacles--crossover with--dataset/ETHPy150Open openstack/horizon/horizon/tables/actions.py/BaseAction.get_policy_target