def get_obstable_metrics(self):
        obstacle_details = []

        for nb_obstacle in range(self.N_OBSTABLE_GEN):
            # Width Random Size
            width_obs = randint(1, self.MAX_OBS_WIDTH)
            # Height Random Size
            height_obs = randint(1, self.MAX_OBS_HEIGHT)
            # Location Random Selection - 1 if Upper 0 Lower
            location_obs = 1 if random() > 0.5 else 0
            # Start Location
            location_st_obs = randint(0,
                                      self.WINDOW_WIDTH - width_obs)
            obstacle_details.append((width_obs,
                                     height_obs,
                                     location_obs,
                                     location_st_obs))
        return obstacle_details
Randomly generates given input constraints Obstacle characteristics
dataset/ETHPy150Open dandxy89/rf_helicopter/Model/Generate_obstacles.py/Obstacle_Tracks.get_obstable_metrics