Skip to content

Commit

Permalink
Improve comments : #1438 (comment)
Browse files Browse the repository at this point in the history
Co-authored-by: Puttichai Lertkultanon <[email protected]>
  • Loading branch information
Shunichi Nozawa committed Nov 7, 2024
1 parent 455ed5f commit e331a70
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/libopenrave/kinbodygrab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ static bool _IsInterGrabbedLinkPairIncluded(const KinBody::Link* pLink1ToSearch,
return false;
}

/// \brief Push link to listNonCollidingLinkPairs if the given grabbed bodies links are not in collision each other. This is inter-grabbed link pairs.
/// Note that envBodyIndex of grabbedBody1 should be smaller than envBodyIndex of grabbedBody2.
/// \brief Push to the given listNonCollidingInterGrabbedLinkPairs the pairs of non-colliding links between grabbedBody1 and grabbedBody2.
///
/// This function assumes that grabbedBody1.GetEnvironmentBodyIndex() < grabbedBody2.GetEnvironmentBodyIndex().
static void _PushInterGrabbedLinkPairsIfNonColliding(std::list<std::pair<KinBody::LinkConstPtr, KinBody::LinkConstPtr> >& listNonCollidingInterGrabbedLinkPairs,
CollisionCheckerBasePtr& pchecker,
const KinBody& grabbedBody1,
Expand Down

0 comments on commit e331a70

Please sign in to comment.