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&)':
/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::PlanningScene_>::_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>>&) const
void addCollisionObjects(const std::vector&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/src/object_detection_action_server.cpp: In member function 'void turtlebot_arm_object_manipulation::ObjectDetectionServer::addTable(const std::vector>>&, const std::vector&)':
/home/ubuntu/catkin_ws/src/turtlebot_arm/turtlebot_arm_object_manipulation/src/object_detection_action_server.cpp:467:14: error: 'point2str3D' is not a member of 'mtk'
mtk::point2str3D(co.primitive_poses[0].position).c_str(), table_poses.size());
^
/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::DetectionBin::addObject(object_recognition_msgs::RecognizedObject)':
/home/ubuntu/catkin_ws/src/turtlebot_arm/turtlebot_arm_object_manipulation/src/object_detection_action_server.cpp:633:37: error: 'yaw' is not a member of 'mtk'
yaw_acc += mtk::yaw(obj.pose.pose.pose) * obj.confidence;
^
make[2]: *** [turtlebot_arm/turtlebot_arm_object_manipulation/CMakeFiles/object_detection_action_server.dir/src/object_detection_action_server.cpp.o] Error 1
make[1]: *** [turtlebot_arm/turtlebot_arm_object_manipulation/CMakeFiles/object_detection_action_server.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 87%] Building CXX object moveit/src/moveit_ros/visualization/rviz_plugin_render_tools/CMakeFiles/moveit_rviz_plugin_render_tools.dir/include/moveit/rviz_plugin_render_tools/moc_trajectory_visualization.cxx.o
Linking CXX shared library /home/ubuntu/catkin_ws/devel/lib/python2.7/dist-packages/moveit_ros_planning_interface/_moveit_move_group_interface.so
[ 87%] Built target moveit_move_group_interface_python
Linking CXX shared library /home/ubuntu/catkin_ws/devel/lib/libmoveit_rviz_plugin_render_tools.so
[ 88%] Built target moveit_rviz_plugin_render_tools
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
↧