Skip to content

Commit

Permalink
fix typos in compute_default_collisions.cpp (#2461)
Browse files Browse the repository at this point in the history
* fix typos in compute_default_collisions.cpp

* Fix typo

---------

Co-authored-by: Sebastian Jahr <[email protected]>
  • Loading branch information
suravshresth and sjahr authored Oct 19, 2023
1 parent 9249e44 commit 84d3937
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,20 +107,20 @@ static bool setLinkPair(const std::string& linkA, const std::string& linkB, cons
/**
* \brief Build the robot links connection graph and then check for links with no geomotry
* \param link The root link to begin a breadth first search on
* \param link_graph A representation of all bi-direcitonal joint connections between links in robot_description
* \param link_graph A representation of all bi-directional joint connections between links in robot_description
*/
static void computeConnectionGraph(const moveit::core::LinkModel* link, LinkGraph& link_graph);

/**
* \brief Recursively build the adj list of link connections
* \param link The root link to begin a breadth first search on
* \param link_graph A representation of all bi-direcitonal joint connections between links in robot_description
* \param link_graph A representation of all bi-directional joint connections between links in robot_description
*/
static void computeConnectionGraphRec(const moveit::core::LinkModel* link, LinkGraph& link_graph);

/**
* \brief Disable collision checking for adjacent links, or adjacent with no geometry links between them
* \param link_graph A representation of all bi-direcitonal joint connections between links in robot_description
* \param link_graph A representation of all bi-directional joint connections between links in robot_description
* \param scene A reference to the robot in the planning scene
* \param link_pairs List of all unique link pairs and each pair's properties
* \return number of adjacent links found and disabled
Expand Down Expand Up @@ -349,7 +349,7 @@ void computeConnectionGraph(const moveit::core::LinkModel* start_link, LinkGraph
// Recursively build adj list of link connections
computeConnectionGraphRec(start_link, link_graph);

// Repeatidly check for links with no geometry and remove them, then re-check until no more removals are detected
// Repeatedly check for links with no geometry and remove them, then re-check until no more removals are detected
bool update = true; // track if a no geometry link was found
while (update)
{
Expand Down

0 comments on commit 84d3937

Please sign in to comment.