
i need to simulate obstacle avoidance in case o serial manipulators
Originally posted by alexi on ROS Answers with karma: 38 on 2015-10-19
Post score: 1

i need to simulate obstacle avoidance in case o serial manipulators
Originally posted by alexi on ROS Answers with karma: 38 on 2015-10-19
Post score: 1

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/publications/pdfs/Khatib_1986_IJRR.pdf
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 ;)
Originally posted by mrslvgg with karma: 191 on 2015-10-19
This answer was ACCEPTED on the original site
Post score: 1
Comment by alexi on 2015-10-20:
thank u sir, for your response, can you suggest me a simulator that can demonstrate the same which can sensor values about the obstacle
Comment by mrslvgg on 2015-10-20:
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.
Comment by alexi on 2015-10-21:
sir, will you help in implementing the potential field in the simulator, or any related docs sp that i can follow it...
Comment by mrslvgg on 2015-10-22:
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.