Here is an implementation of Potential Function Motion Planner in Matlab:
main.m1793 chars57 lines
To use the function, you need to provide an initial configuration, a goal configuration, and a set of obstacles. For example:
main.m114 chars5 lines
This will try to plan a collision-free path from start
to goal
, avoiding the obstacles defined in obstacles
.
gistlibby LogSnag