catkin_make error in Indigo (pose2str3D)
I'm following the turtlebot_arm tutorials and getting the following error that I can't find references to anywhere.
There seems to be an issue in object_detection_action_server.cpp and pose2str3D.
Has anyone seen this before?
[ 86%] Building CXX object turtlebot_arm/turtlebot_arm_object_manipulation/CMakeFiles/object_detection_action_server.dir/src/object_detection_action_server.cpp.o
In file included from /opt/ros/indigo/include/ros/ros.h:40:0,
from /home/ubuntu/catkin_ws/src/turtlebot_arm/turtlebot_arm_object_manipulation/src/object_detection_action_server.cpp:35:
/home/ubuntu/catkin_ws/src/turtlebot_arm/turtlebot_arm_object_manipulation/src/object_detection_action_server.cpp: In member function 'void turtlebot_arm_object_manipulation::ObjectDetectionServer::goalCB()':
/home/ubuntu/catkin_ws/src/turtlebot_arm/turtlebot_arm_object_manipulation/src/object_detection_action_server.cpp:219:23: error: 'pose2str3D' is not a member of 'mtk'
mtk::pose2str3D(obj.pose.pose.pose).c_str(), bin.id, mtk::pose2str3D(bin.getCentroid()).c_str(),
^
/home/ubuntu/catkin_ws/src/turtlebot_arm/turtlebot_arm_object_manipulation/src/object_detection_action_server.cpp:219:76: error: 'pose2str3D' is not a member of 'mtk'
mtk::pose2str3D(obj.pose.pose.pose).c_str(), bin.id, mtk::pose2str3D(bin.getCentroid()).c_str(),
^
/home/ubuntu/catkin_ws/src/turtlebot_arm/turtlebot_arm_object_manipulation/src/object_detection_action_server.cpp:230:65: error: 'pose2str3D' is not a member of 'mtk'
ROS_DEBUG("Object with pose [%s] added to a new bin", mtk::pose2str3D(obj.pose.pose.pose).c_str());
^
/home/ubuntu/catkin_ws/src/turtlebot_arm/turtlebot_arm_object_manipulation/src/object_detection_action_server.cpp: In member function 'void turtlebot_arm_object_manipulation::ObjectDetectionServer::tableCb(const TableArray&)':
/home/ubuntu/catkin_ws/src/turtlebot_arm/turtlebot_arm_object_manipulation/src/object_detection_action_server.cpp:316:16: error: 'pose2str3D' is not a member of 'mtk'
mtk::pose2str3D(table_pose).c_str(),
^
/home/ubuntu/catkin_ws/src/turtlebot_arm/turtlebot_arm_object_manipulation/src/object_detection_action_server.cpp: In member function 'int turtlebot_arm_object_manipulation::ObjectDetectionServer::addObjects(const std::vector<turtlebot_arm_object_manipulation::ObjectDetectionServer::DetectionBin>&)':
/home/ubuntu/catkin_ws/src/turtlebot_arm/turtlebot_arm_object_manipulation/src/object_detection_action_server.cpp:338:28: error: 'pose2str3D' is not a member of 'mtk'
bin.id, mtk::pose2str3D(bin.getCentroid()).c_str(), bin.countObjects(), CALLS_TO_ORK_TABLETOP);
^
/home/ubuntu/catkin_ws/src/turtlebot_arm/turtlebot_arm_object_manipulation/src/object_detection_action_server.cpp:352:28: error: 'pose2str3D' is not a member of 'mtk'
bin.id, mtk::pose2str3D(bin.getCentroid()).c_str(), bin.countObjects(), obj_name.c_str());
^
/home/ubuntu/catkin_ws/src/turtlebot_arm/turtlebot_arm_object_manipulation/src/object_detection_action_server.cpp:357:36: error: 'point2str3D' is not a member of 'mtk'
obj_name.c_str(), mtk::point2str3D(out_pose.position).c_str());
^
/home/ubuntu/catkin_ws/src/turtlebot_arm/turtlebot_arm_object_manipulation/src/object_detection_action_server.cpp:401:88: error: no matching function for call to 'moveit::planning_interface::PlanningSceneInterface::addCollisionObjects(std::vector<moveit_msgs::CollisionObject_<std::allocator<void> > >&, moveit_msgs::PlanningScene_<std::allocator<void> >::_object_colors_type&)'
planning_scene_interface_.addCollisionObjects(collision_objects, ps.object_colors);
^
/home/ubuntu/catkin_ws/src/turtlebot_arm/turtlebot_arm_object_manipulation/src/object_detection_action_server.cpp:401:88: note: candidate is:
In file included from /home/ubuntu/catkin_ws/src/turtlebot_arm/turtlebot_arm_object_manipulation/src/object_detection_action_server.cpp:58:0:
/home/ubuntu/catkin_ws/src/moveit/src/moveit_ros/planning_interface/planning_scene_interface/include/moveit/planning_scene_interface/planning_scene_interface.h:79:8: note: void moveit::planning_interface::PlanningSceneInterface::addCollisionObjects(const std::vector<moveit_msgs::CollisionObject_<std::allocator<void> > >&) const
void addCollisionObjects(const std::vector<moveit_msgs::CollisionObject> &collision_objects) const;
^
/home/ubuntu/catkin_ws/src/moveit/src/moveit_ros/planning_interface/planning_scene_interface/include/moveit/planning_scene_interface/planning_scene_interface.h:79:8: note: candidate expects 1 argument, 2 provided
In file included from /opt/ros/indigo/include/ros/ros.h:40:0,
from /home/ubuntu/catkin_ws/src/turtlebot_arm/turtlebot_arm_object_manipulation/src/object_detection_action_server.cpp:35:
/home/ubuntu/catkin_ws/src/turtlebot_arm/turtlebot_arm_object_manipulation ...
I have the same issue. Were you able to resolve this?