ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

catkin_make error in Indigo (pose2str3D)

asked 2016-04-30 04:31:56 -0500

wjvh gravatar image

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 ...
(more)
edit retag flag offensive close merge delete

Comments

I have the same issue. Were you able to resolve this?

anonymous userAnonymous ( 2017-07-04 17:59:29 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-07-05 08:16:13 -0500

wjvh gravatar image

I was only getting this problem a year ago when I was using an old version of turtlebot_arm. Using the indigo-devel branch from the official turtlebot_arm repo here https://github.com/turtlebot/turtlebo... doesn't throw this error for me now.

To fix this back then I traced the error back to mtk which traced back to yocs_math_toolkit. Clone https://github.com/yujinrobot/yujin_ocs into your catkin_ws and rebuild.

W

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-04-30 04:31:56 -0500

Seen: 233 times

Last updated: Jul 05 '17