Ask Your Question
2

Error while loading nodelet [/normal_estimation]

asked 2012-04-17 09:18:19 -0500

CaptainTrunky gravatar image

Hi! I'm using ROS Fuerte Beta 1 on Ubuntu 11.10. I tried to compile pcl_ros nodelets. There were some errors related to old PCL library API, I fixed them. When I try roslaunch Package node.launch I receive next error:

[ERROR] [1334687385.411350875]: Failed to load nodelet [/normal_estimation] of type [pcl/NormalEstimation]: Failed to load library /home/crady/ros/perception_pcl/pcl_ros/lib/libpcl_ros_features.so. Make sure that you are calling the PLUGINLIB_REGISTER_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Cannot load library: /home/crady/ros/perception_pcl/pcl_ros/lib/libpcl_ros_features.so: undefined symbol: _ZN3pcl18BoundaryEstimationINS_8PointXYZENS_6NormalENS_8BoundaryEE14computeFeatureERNS_10PointCloudIS3_EE
[FATAL] [1334687385.412377822]: Service call failed!

So, seems that pcl::BoundryEstimation<pointxyz, normal,="" boundry="">::computeFeature(PointCloud) is missing. Where may be problem?

edit retag flag offensive close merge delete

Comments

It might help to know the exact roslaunch code you are using.

joq gravatar imagejoq ( 2012-04-17 12:41:52 -0500 )edit
CaptainTrunky gravatar imageCaptainTrunky ( 2012-04-17 22:05:36 -0500 )edit

Some additions: nodelet manager fails to load exactly this nodelet, other works fine. Error says that it missing library that contains this symbol (BoundryEstimation). I assume that somewhere in manifest.xml or plugin.xml for pcl_ros missed this link. But I can't find it for this moment.

CaptainTrunky gravatar imageCaptainTrunky ( 2012-04-18 02:13:10 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
3

answered 2012-04-18 06:02:21 -0500

joq gravatar image

Aha! You are using Fuerte. It looks like that version of pcl_ros is missing the libpcl_ros_features.so.

Please file a bug report.

edit flag offensive delete link more

Comments

1

Hm. But I have it in perception_pcl/pcl_ros/lib. In CMakeLists.txt section for this nodelets was commented out, but I uncommented it. http://pastebin.com/cUDg83Kw this is my version of CMakeLists.txt

CaptainTrunky gravatar imageCaptainTrunky ( 2012-04-18 06:14:15 -0500 )edit

I see. I noticed it was missing in the Ubuntu pcl_ros binary. That suggests that it was broken somehow and needs some repair for Fuerte. I don't see an open Trac ticket for it.

joq gravatar imagejoq ( 2012-04-18 06:47:21 -0500 )edit
CaptainTrunky gravatar imageCaptainTrunky ( 2012-04-18 06:59:45 -0500 )edit

Thank you @CaptainTrunky! This helped me find the issue with shared objects for features and segmentation. But I get errors when I rosmake pcl_ros after these changes. I have posted a new question - http://answers.ros.org/question/47814/ros-fuerte-pcl-features-surface-and-segmentation-libraries/

harsha gravatar imageharsha ( 2012-11-07 10:12:14 -0500 )edit

It would be great if you could share with us if you faced these issues and how you fixed them. Thank you.

harsha gravatar imageharsha ( 2012-11-08 05:01:14 -0500 )edit

I am facing similar kind of problems. I have posted a new question http://answers.ros.org/question/157886/error-while-loading-nodelet-velocity_multiplexer/. Thanks in advance.

RB gravatar imageRB ( 2014-04-27 02:06:33 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2012-04-17 09:18:19 -0500

Seen: 532 times

Last updated: Apr 18 '12