ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

how can i simulate obstacle avoidance for serial manipulators using potential field method

asked 2015-10-19 14:08:54 -0600

alexi gravatar image

i need to simulate obstacle avoidance in case o serial manipulators

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2015-10-19 15:58:06 -0600

mrslvgg gravatar image

Start thinking that the spatial derivative (or gradient) of the potential field represents a force. By applying this force at the robot end-effector you can use operational (or cartesian) space control (see O.Khatib) or translating this force in joint torques by means of Jacobian transpose.

This paper is one of the milestones in the artificial potential field:

http://cs.stanford.edu/group/manips/p...

Basicly, it explains how to model both attractive potential field (for the desired pose) and repulsive potential field (for the obstacles). This two potential field have always different signs. You can make use of quadratic function, e.g.

U = ½ (x - xc)^2

which is positive, continuous and differentiable function which attains zero when x=xc and where xc is the vector position center of the modelled obstacle or of the goal position. Once all objects have been modelled using this kind of functions you have simple to differentiate all the U obtaining respective forces F. This forces should be added together for calculating the overall force at the robot tip.

If you have a simulator accepting joint torques as input, lets say V-REP, all that you have to do is multiply the resulting force for the Jacobian transpose matrix that is function of the joint positions.

Obviously, there are several ways to model obstacles, using different functions, and several ways to keep the stability of the simulation. For further details have a look into the literature or don't hesitate to ask again!

Good luck ;)

edit flag offensive delete link more

Comments

thank u sir, for your response, can you suggest me a simulator that can demonstrate the same which can sensor values about the obstacle

alexi gravatar image alexi  ( 2015-10-20 15:35:34 -0600 )edit

As far as I know, potential field, though very interesting method is quite old and led, sometimes, to unrealistic behaviour (when total potential reach a local minimum the robot can stall). Recent simulators use more sophisticated collision detection and avoidance algorithms, see V-REP for instance.

mrslvgg gravatar image mrslvgg  ( 2015-10-20 16:17:28 -0600 )edit

sir, will you help in implementing the potential field in the simulator, or any related docs sp that i can follow it...

alexi gravatar image alexi  ( 2015-10-21 09:47:25 -0600 )edit

It depends on what you want to do. As I stated above, new simulators make use of powerful calculation modules for path planning and obstacles avoidance. However, if you want implement your own method from scratch I suggest to use Matlab with Robotics tool and a simulator, like V-Rep, as visualizer.

mrslvgg gravatar image mrslvgg  ( 2015-10-22 02:32:51 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-10-19 14:08:54 -0600

Seen: 1,154 times

Last updated: Oct 19 '15