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.
Originally posted by robonoob on ROS Answers with karma: 36 on 2019-01-19
Post score: 1
Original comments
Comment by gvdhoorn on 2019-01-21:
Just making sure: you did ask IKFast to generate for a 5dof manipulator, correct?
Comment by robonoob on 2019-01-21:
Hello! Yep, i used the flag --iktype=translationdirection5d
Comment by robonoob on 2019-01-25:
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?
Comment by gvdhoorn on 2019-01-27:
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.