RRT/src/world.py
def grow_obstacles(self, robot_size):
        '''
        A function to grow the obstacles by <robot_size> so that we can move a point robot in the world without
        worrying about the collision
        '''
        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 = True

        A function to grow the obstacles by <robot_size> so that we can move a point robot in the world without
        worrying about the collision
        
A function to grow the obstacles by  so that we can move a point robot in the world without
worrying about the collision
A function to grow the obstacles by so that we can move a point robot in the world without worrying about the collision
def grow_obstacles(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 = True
def grow_obstacles ( 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 = True
A function to grow the obstacles by <robot_size> so that we can move a point robot in the world without
worrying about the collision
A function to grow the obstacles by <robot_size > so that we can move a point robot in the world without worrying about the collision
'''
        A function to grow the obstacles by <robot_size> so that we can move a point robot in the world without
        worrying about the collision
        '''
self
robot_size