Programming Assignment 5
Programming Assignment 5
Write down a function that accepts three inputs - robot’s initial location, goal location, and
locations of arbitrary number of obstacles - and provides the path using the artificial potential
function based approach based on algorithm provided on slide 20 of lecture 8 slides. The
attractive and repulsive forces need to be calculated using equations provided on slides 15 and
18. Appropriately tune all parameters to obtain acceptable results. Please assume that path
planning is carried out in configuration space so that robot can be assumed as a point.
The above case is shown by the picture below (robot’s location in red star, obstacles in black
circles, and goal location in blue cross).
20
18
16
14
12
10
0
0 2 4 6 8 10 12 14 16 18 20
Running your code should show a simulation with motion of the robot starting from initial
location and reaching the goal location while avoiding the obstacles.