Task: Move arm from blue position (start) to light blue position (goal) without touching the rectangles. The arm's movement is described by two angles, one at the base of the robot, and one at joint of the two arms.
First convert to configuration space (c-space): The axes are now the angles (instead of x/y coordinates). To solve the problem we search for a path from start conf. to goal conf. in the c-space.
The path tells us how to change the angles of the arm over time to reach the goal position. As animation:
Potential function | ||
---|---|---|
Create potential functions: One that pushes towards the goal, and one that pushes away from obstacles. Find a both via methods like gradient descent |