Skip to content

Commit

Permalink
Add distance to servo collision checker requests (#2511)
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-bass authored Nov 6, 2023
1 parent ce240bd commit 04e9c3e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions moveit_ros/moveit_servo/src/collision_monitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ CollisionMonitor::CollisionMonitor(const planning_scene_monitor::PlanningSceneMo
, planning_scene_monitor_(planning_scene_monitor)
, collision_velocity_scale_(collision_velocity_scale)
{
scene_collision_request_.distance = true;
scene_collision_request_.group_name = servo_params.move_group_name;

self_collision_request_.distance = true;
self_collision_request_.group_name = servo_params.move_group_name;
}

void CollisionMonitor::start()
Expand Down

0 comments on commit 04e9c3e

Please sign in to comment.