abb icon indicating copy to clipboard operation
abb copied to clipboard

irb2400 IKFast plugin doesn't match URDF

Open JeremyZoss opened this issue 9 years ago • 8 comments

URDF tool0 definition was updated in 24f5530df3aec9e99bfcd764178b612ee7e7c5b7, but ikFast analytic solver was not updated. IKFast solver now produces results inconsistent with URDF/KDL.

Test case Compute IK for robot at nominal (all-zeros) position:

rosservice call /compute_ik "{ik_request: {group_name: 'manipulator', robot_state: {joint_state: {name: ['joint_1', 'joint_2', 'joint_3', 'joint_4', 'joint_5', 'joint_6'], position: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0]}}, ik_link_name: 'tool0', pose_stamped: {pose: {position: {x: 0.94, y: 0.0, z: 1.455}, orientation: {x: 0.0, y: 0.707106781185, z: 0.0, w: 0.707106781188}}}}}"
  • KDL: [0, 0, 0, 0, 0, 0]
  • IKFast: [0, 0.15, -0.28, 0.0, 1.70, 0.0]

Other ABB models are not affected, because no IKFast plugin has been created.

JeremyZoss avatar May 21 '15 17:05 JeremyZoss

@Levi-Armstrong, this needs to be addressed ASAP, as it is in a released package.

shaun-edwards avatar May 21 '15 19:05 shaun-edwards

Wasn't this fixed with the merge of #81?

gavanderhoorn avatar Apr 08 '16 16:04 gavanderhoorn

I see that fixes were applied to devel + release packages:

  • fixes in #81 (indigo-devel), #83 (indigo), #84 (hydro-devel), #85 (hydro)

But when I try to run my test-code above (with the latest indigo packages), I get different answers from KDL and IKFast plugins. This is just a quick test, so I could be doing something wrong. Dragging the robot in RVIZ (e.g. Tool-Z) causes the robot to flip to a different elbow configuration near the all-zeros position, when using the IKFast plugin, but not when using the KDL plugin.

It seems to me that the above PRs fix this particular bug. There may be another bug where the IKFast plugin does not return the closest solution?? Or, perhaps there's a rounding error that causes IKFast to miss the solutions to the particular cartesian position in my test case.

I'm probably okay to close this bug. If someone identifies the KDL/IKFast configuration-discrepancy as a "real" issue later, then we can open a new bug for that topic.

@Levi-Armstrong : do you concur?

JeremyZoss avatar Apr 13 '16 16:04 JeremyZoss

I believe we have been using this on our 2400 in the lab but I will make sure it is this version and not a custom one before closing the Issue.

Levi-Armstrong avatar Jan 10 '17 16:01 Levi-Armstrong

@Levi-Armstrong: have you had an opportunity to test this?

gavanderhoorn avatar Jan 26 '17 07:01 gavanderhoorn

Not yet, I should have an update tomorrow. @Jmeyer1292

Levi-Armstrong avatar Jan 27 '17 05:01 Levi-Armstrong

@Jmeyer1292, Have you gotten a chance to check this?

Levi-Armstrong avatar Feb 06 '17 02:02 Levi-Armstrong

It's not the same. On Godel we're using a version that was generated with a "newer" IK-Fast. It's difficult to say anything about the IK code beyond that.

Jmeyer1292 avatar Feb 06 '17 17:02 Jmeyer1292