Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix getLinkModelNamesWithCollisionGeometry to include the base link #2660

Merged
merged 3 commits into from
Jan 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
pre-commit
  • Loading branch information
MarqRazz committed Jan 24, 2024
commit 3d1d0b15da3eb56ccae8dd2585cb648d4e66a325
4 changes: 2 additions & 2 deletions moveit_core/robot_model/src/joint_model_group.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ JointModelGroup::JointModelGroup(const std::string& group_name, const srdf::Mode
link_model_map_[link_model->getName()] = link_model;
link_model_name_vector_.push_back(link_model->getName());
// if this is the first link of the group with geometry (for example `base_link`) it should included
if(link_model_with_geometry_vector_.empty() && !link_model->getParentLinkModel()->getShapes().empty())
{
if (link_model_with_geometry_vector_.empty() && !link_model->getParentLinkModel()->getShapes().empty())
{
link_model_with_geometry_vector_.push_back(link_model->getParentLinkModel());
link_model_with_geometry_name_vector_.push_back(link_model->getParentLinkModel()->getName());
}
Expand Down
Loading