Getting all possible joints for goal-state

286 views
Skip to first unread message

bfis...@gmail.com

unread,
May 25, 2015, 2:02:56 PM5/25/15
to moveit...@googlegroups.com

Hi to all!

I would like to know if there's a way in moveit to get all possible IK-joint values (all IK-solutions which also have no collisions in the planning scene) to choose the goal-joints out of them.
I'm using the RRTConnectkConfigDefault-planner with an UR5.

Has anybody some experience with that?

Thanks and regards

Shaun Edwards

unread,
May 25, 2015, 7:27:26 PM5/25/15
to bfis...@gmail.com, moveit...@googlegroups.com
We have a PR open to address this need ( https://github.com/ros-planning/moveit_core/pull/231 ).  Even accepted, this capability will only be available to those IK solvers that chose to support it.  We have an associated PR that enables support in IKFast generated solutions: https://github.com/ros-planning/moveit_ikfast/pull/50.

bfis...@gmail.com

unread,
May 26, 2015, 5:01:23 AM5/26/15
to moveit...@googlegroups.com, bfis...@gmail.com

Thanks @Shaun Edwards for your answer and the links to the PR.
So if I understand you correctly, it will not be possible for me with my current setup, using the default IK-solver of the UR-package to get the functionality of getMultipleIk(..). I would need to switch on IKFast, right?

Unfortunately there seem to be problems with UR and IKFast and if I get it right from the issue here it is not recommended to switch to IKFast with an UR.

Is there a possibilty to get that feature with the supported UR-setup?

Thanks and regards

Shaun Edwards

unread,
May 26, 2015, 10:39:03 AM5/26/15
to bfis...@gmail.com, moveit...@googlegroups.com, jorge...@swri.org
See Jorge Nicho's response:

Shaun,

The custom ik fast implementation  here works well in my experience; in fact what we used for the ROS-I training here are those ur ik source files with some minor tweaks.  Exposing the all  the ik joint solutions was done by inheriting from the custom ur kinematics and adding a “getAllIk()” method that mimics the “getPositionIK” method but instead collects all the solutions into an array of arrays and then returns.

bfis...@gmail.com

unread,
May 28, 2015, 2:38:56 AM5/28/15
to moveit...@googlegroups.com, jorge...@swri.org, bfis...@gmail.com

In the second link I was looking for the tweak you made to expose all the IK-joint solutions, the method "getAllIk()", but I couldn't find it.
Could you maybe show me the steps I need to take here to get this functionality?
I would highly appreciate it!! Please consider I'm still quite new to this and am a bit lost at the moment with all the repositorys, issues and so on...

Thanks and regards

Jorge Nicho

unread,
May 28, 2015, 6:09:48 PM5/28/15
to moveit...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages