Skip to content

Commit

Permalink
MoveIt Servo should respect the AllowedCollisionMatrix
Browse files Browse the repository at this point in the history
  • Loading branch information
amalnanavati committed Dec 14, 2023
1 parent a787972 commit 2da3b71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions moveit_ros/moveit_servo/src/collision_monitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ void CollisionMonitor::checkCollisions()

// Check collision with environment.
scene_collision_result_.clear();
locked_scene->getCollisionEnv()->checkRobotCollision(scene_collision_request_, scene_collision_result_,
*robot_state_);
locked_scene->getCollisionEnv()->checkRobotCollision(
scene_collision_request_, scene_collision_result_, *robot_state_, locked_scene->getAllowedCollisionMatrix());

// Check robot self collision.
self_collision_result_.clear();
Expand Down

0 comments on commit 2da3b71

Please sign in to comment.