RRT/src/world.py
def reduce_obstacle(self, robot_size):
        '''
        A function to grow the obstacles by <robot_size>
        '''
        for obstacle in self.obstacles:
            obstacle[0] += robot_size/2
            obstacle[1] += robot_size/2
            obstacle[2] -= robot_size
            obstacle[3] -= robot_size
        self.inflated_obstacles = False

        A function to grow the obstacles by <robot_size>
        
A function to grow the obstacles by 
A function to grow the obstacles by
def reduce_obstacle(self, robot_size):
        for obstacle in self.obstacles:
            obstacle[0] += robot_size/2
            obstacle[1] += robot_size/2
            obstacle[2] -= robot_size
            obstacle[3] -= robot_size
        self.inflated_obstacles = False
def reduce_obstacle ( self , robot_size ) : for obstacle in self . obstacles : obstacle [ 0 ] += robot_size / 2 obstacle [ 1 ] += robot_size / 2 obstacle [ 2 ] -= robot_size obstacle [ 3 ] -= robot_size self . inflated_obstacles = False
A function to grow the obstacles by <robot_size>
A function to grow the obstacles by <robot_size >
'''
        A function to grow the obstacles by <robot_size>
        '''
self
robot_size