Ask Your Question
0

IKFast testik fails with 0% success rate

asked 2019-01-19 17:06:50 -0600

robonoob gravatar image

updated 2019-01-19 20:42:25 -0600

jayess gravatar image

Hi All,

I'm building a 5DOF manipulator and haven't had much luck building an IK solver. My urdf for just the manipulator and bash script (to convert to collada, trim to 5 decimals, etc) can be found here: https://github.com/babakc/moveo . The bash script is in the urdf folder. I've stripped out any links/joints that aren't part of the manipulator to simplify things.

I've tried setting a number of different orientations for the joints (so the arm isn't fully stretched out), but continue to get the same error when using the --iktests flag:

openravepy.databases.inversekinematics: testik, success rate: 0.000000, wrong solutions: 0.250000, no solutions: 0.750000, missing solution: 0.000000
Traceback (most recent call last):
  File "/usr/local/bin/openrave.py", line 126, in <module>
    database.run(args=args)
  File "/usr/local/lib/python2.7/dist-packages/openravepy/_openravepy_0_9/databases/inversekinematics.py", line 1128, in run
    InverseKinematicsModel.RunFromParser(*args,**kwargs)
  File "/usr/local/lib/python2.7/dist-packages/openravepy/_openravepy_0_9/databases/inversekinematics.py", line 1116, in RunFromParser
    raise InverseKinematicsError(u'wrong rate %f > 0!'%wrongrate)
openravepy._openravepy_0_9.databases.inversekinematics.InverseKinematicsError: Inverse Kinematics Error
wrong rate 0.250000 > 0!

Any idea what i'm doing wrong here? I built openrave from commit 9350ebc... Not sure if that's the latest working one (latest commit from master failed to build).

Appreciate any ideas at all, as I've been bashing my head for days trying to get this to work!

Thanks.

edit retag flag offensive close merge delete

Comments

Just making sure: you did ask IKFast to generate for a 5dof manipulator, correct?

gvdhoorn gravatar imagegvdhoorn ( 2019-01-21 04:29:47 -0600 )edit

Hello! Yep, i used the flag --iktype=translationdirection5d

robonoob gravatar imagerobonoob ( 2019-01-21 04:39:26 -0600 )edit

hummm, gone ahead and built the moveit plugin anyway, and i'm able to move the interactive marker around, but the EE orientation seems to be stuck. Is this normal?

robonoob gravatar imagerobonoob ( 2019-01-25 17:54:34 -0600 )edit

A 5of robot cannot reach all poses in a 6dof search space. So yes, for some poses this would be 'normal' (or really: a limitation of the kinematics of your robot).

Try with the "Approximate IK" checkbox checked.

gvdhoorn gravatar imagegvdhoorn ( 2019-01-27 03:02:41 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-01-27 04:09:53 -0600

robonoob gravatar image

Worked this out yesterday. When the axes of the last two joints align, the solver is generated incorrectly for some reason. I offset the last two joints with xyz coords: 0.005, 0.005, 0, and was able to generate a solver that works.

Logged an issue with more details here: https://github.com/rdiankov/openrave/...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-01-19 17:06:50 -0600

Seen: 180 times

Last updated: Jan 27