Skip to content

Commit

Permalink
Merge pull request #5 from sbgisen/feature/padding_each
Browse files Browse the repository at this point in the history
  • Loading branch information
Tacha-S committed Jun 26, 2023
2 parents def489b + 5e78d50 commit b0f4556
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions moveit_core/planning_scene/src/planning_scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -492,9 +492,9 @@ void PlanningScene::checkCollision(const collision_detection::CollisionRequest&
// check collision with the world using the padded version
getCollisionEnv()->checkRobotCollision(req, res, robot_state, acm);

// do self-collision checking with the unpadded version of the robot
// do self-collision checking with the padded version of the robot
if (!res.collision || (req.contacts && res.contacts.size() < req.max_contacts))
getCollisionEnvUnpadded()->checkSelfCollision(req, res, robot_state, acm);
getCollisionEnv()->checkSelfCollision(req, res, robot_state, acm);
}

void PlanningScene::checkCollisionUnpadded(const collision_detection::CollisionRequest& req,
Expand Down

0 comments on commit b0f4556

Please sign in to comment.