ends up with a lot of these errors:
[ikfastsolver.cpp:1625 _ValidateSolutionAll] ignoring bad ik for arm:gripper dist=0.04004096660314603, param=[1442840583 -0.1987926843695766 -0.9722928033231021 -0.1229966391705129 0.2652216005701876 -0.162347375041132 -0.1226124960969151 ], sol=[3.69087609310095, 3.484419979695062, 1.023237518019122, 4.90853500302848, 0.3133917207171269, ]
openravepy.databases.inversekinematics: show, found 0 solutions
which seem to indicate that the ik doesn't seem to work. In the case that someone has an idea what might me wrong I have uploaded my dae.
Btw: the wiki seems to be down. I only get a php Fatal error.
ok, got it working by making the following changes:
- Doing all rotations about the Z-axis (as in the Denavit-Hartenberg convention)
This change got rid of the false results ("ignoring bad ik for" error).
- Placing the end effector at an offset from the last joint.
In my robot description I have placed the last link that my end effector attaches to directly on the last joint.
This is of course not correct, moving it away from the the last joint gave me valid ik solutions.
Also if the manipulator direction is not configured OpenRave seems to default to the Z-axis.
Hope this helps someone.