Skip to content
This repository has been archived by the owner on Nov 13, 2017. It is now read-only.

The CollisionRobotFCL::distanceSelf returns incorrect distance with urdf's that have multiple geometry in a single link. #258

Closed
Levi-Armstrong opened this issue Sep 18, 2015 · 1 comment

Comments

@Levi-Armstrong
Copy link
Contributor

The distanceCallback function in collision_common.cpp needs to check to see if both geometries are associated to the same link. If the below code is add after the "If active components are specified" check along with l1 and l2 being instantiated outside the if statement it solves the issue.

// Check if it is an internal link geometry check
if (l1->getName() == l2->getName())
{
  return false;
}
Levi-Armstrong pushed a commit to Levi-Armstrong/moveit_core that referenced this issue Nov 24, 2015
Levi-Armstrong pushed a commit to Levi-Armstrong/moveit_core that referenced this issue Nov 25, 2015
sachinchitta added a commit that referenced this issue Dec 4, 2015
sachinchitta added a commit that referenced this issue Dec 4, 2015
130s pushed a commit to 130s/moveit_core that referenced this issue Jun 28, 2016
@mikeferguson
Copy link
Contributor

seems that we have merged fixes last year

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants