37 static const std::string
LOGNAME =
"collision_detection";
48 std::string param_name;
49 std::string collision_detector_name;
51 if (nh.
searchParam(
"collision_detector", param_name))
53 nh.
getParam(param_name, collision_detector_name);
55 else if (nh.
hasParam(
"/move_group/collision_detector"))
59 nh.
getParam(
"/move_group/collision_detector", collision_detector_name);
66 if (collision_detector_name.empty())
72 activate(collision_detector_name, scene,
true);
73 ROS_INFO_STREAM(
"Using collision detector:" << scene->getActiveCollisionDetectorName().c_str());