Skip to content

Commit

Permalink
Should be bodyLinkGeom2Name for the second link
Browse files Browse the repository at this point in the history
  • Loading branch information
Shunichi Nozawa committed Aug 15, 2024
1 parent 3546619 commit f5a19f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libopenrave/collisionchecker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ int CollisionPairInfo::FindFirstMatchingLinkIndex(const std::vector<KinBody::Lin

int CollisionPairInfo::FindSecondMatchingLinkIndex(const std::vector<KinBody::LinkPtr>& vlinks) const
{
return _FindMatchingLinkIndex(bodyLinkGeom1Name, vlinks);
return _FindMatchingLinkIndex(bodyLinkGeom2Name, vlinks);
}

inline int _CompareLinkName(const std::string& bodyLinkGeomName, const std::string& linkname)
Expand Down

0 comments on commit f5a19f9

Please sign in to comment.