diff --git a/kuka_arm/include/kuka_arm/trajectory_sampler.h b/kuka_arm/include/kuka_arm/trajectory_sampler.h index 8b1ee419..81443635 100644 --- a/kuka_arm/include/kuka_arm/trajectory_sampler.h +++ b/kuka_arm/include/kuka_arm/trajectory_sampler.h @@ -71,7 +71,7 @@ class TrajectorySampler bool OpenGripper(); bool CloseGripper(); - bool SetupCollisionObject(const std::string &object_id, + void SetupCollisionObject(const std::string &object_id, const std::string &mesh_path, const geometry_msgs::Pose &object_pose, moveit_msgs::CollisionObject &collision_object); diff --git a/kuka_arm/src/trajectory_sampler.cpp b/kuka_arm/src/trajectory_sampler.cpp index 0baa409e..b8191427 100644 --- a/kuka_arm/src/trajectory_sampler.cpp +++ b/kuka_arm/src/trajectory_sampler.cpp @@ -558,7 +558,7 @@ bool TrajectorySampler::CloseGripper() return success; } -bool TrajectorySampler::SetupCollisionObject(const std::string &object_id, +void TrajectorySampler::SetupCollisionObject(const std::string &object_id, const std::string &mesh_path, const geometry_msgs::Pose &object_pose, moveit_msgs::CollisionObject &collision_object)