How to solve PCL's so file not found?
I use ROS fuerte. It lacks of the following files: libpclrosfeatures.so libpclrossegmentation.so libpclrossurface.so
When I run
optirun roslaunch cram_pick_and_place manipulation.launch
It shows: (I only list error msg)
[ERROR] [1354678195.559749322, 2602.353000000]: Failed to load nodelet [/normal_estimation] of type [pcl/NormalEstimation]: Failed to load library /opt/ros/fuerte/stacks/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: /opt/ros/fuerte/stacks/perception_pcl/pcl_ros/lib/libpcl_ros_features.so: cannot open shared object file: No such file or directory
[FATAL] [1354678195.561621515]: Service call failed!
[ERROR] [1354678195.808694022, 2602.391000000]: Failed to load nodelet [/planar_segmentation] of type [pcl/SACSegmentationFromNormals]: Failed to load library /opt/ros/fuerte/stacks/perception_pcl/pcl_ros/lib/libpcl_ros_segmentation.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: /opt/ros/fuerte/stacks/perception_pcl/pcl_ros/lib/libpcl_ros_segmentation.so: cannot open shared object file: No such file or directory
[FATAL] [1354678195.809294466]: Service call failed!
[normal_estimation-13] process has died [pid 18995, exit code 255, cmd /opt/ros/fuerte/stacks/nodelet_core/nodelet/bin/nodelet load pcl/NormalEstimation pcl_manager ~input:=/voxel_grid/output __name:=normal_estimation __log:=/home/sam/.ros/log/a1cac4ba-3e83-11e2-8a57-e0b9a5f829db/normal_estimation-13.log].
log file: /home/sam/.ros/log/a1cac4ba-3e83-11e2-8a57-e0b9a5f829db/normal_estimation-13*.log
[ WARN] [1354678196.055430558, 2602.415000000]: No collision geometry specified for link 'r_forearm_cam_frame'
[planar_segmentation-14] process has died [pid 19015, exit code 255, cmd /opt/ros/fuerte/stacks/nodelet_core/nodelet/bin/nodelet load pcl/SACSegmentationFromNormals pcl_manager ~input:=/voxel_grid/output ~normals:=/normal_estimation/output __name:=planar_segmentation __log:=/home/sam/.ros/log/a1cac4ba-3e83-11e2-8a57-e0b9a5f829db/planar_segmentation-14.log].
log file: /home/sam/.ros/log/a1cac4ba-3e83-11e2-8a57-e0b9a5f829db/planar_segmentation-14*.log
[ERROR] [1354678196.957164444, 2602.558000000]: Failed to load nodelet [/convex_hull] of type [pcl/ConvexHull2D]: Failed to load library /opt/ros/fuerte/stacks/perception_pcl/pcl_ros/lib/libpcl_ros_surface.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: /opt/ros/fuerte/stacks/perception_pcl/pcl_ros/lib/libpcl_ros_surface.so: cannot open shared object file: No such file or directory
[FATAL] [1354678196.960832088]: Service call failed!
[ WARN] [1354678197.034424460, 2602.568000000]: No collision geometry specified for link 'base_laser_link'
[convex_hull-17] process has died [pid 19113, exit code 255, cmd /opt/ros/fuerte/stacks/nodelet_core/nodelet/bin/nodelet load pcl/ConvexHull2D pcl_manager ~input:=/project_plane_inliers/output __name:=convex_hull __log:=/home/sam/.ros/log/a1cac4ba-3e83-11e2-8a57-e0b9a5f829db/convex_hull-17.log].
log file: /home/sam/.ros/log/a1cac4ba-3e83-11e2-8a57-e0b9a5f829db/convex_hull-17*.log
I found other ROS answer thread says they file a ticket, so what can I do?
How to fix it?
Thank you~
Here is ~/code/ros/cram/crampickand_place/launch/manipulation.launch
<launch>
<group>
<include file="$(find cotesys_ros_grasping)/launch/pr2_grasping.launch"/>
<node pkg="table_objects" type="detect_objects_srv" name="detect_objects_srv">
<remap from="~input" to="/extract_objects_indices/output"/>
</node>
</group>
</launch>
Here is pr2_grasping.launch
<launch>
<!-- load perception -->
<include file="$(find pr2_arm_navigation_perception)/launch/laser-perception.launch"/>
<!-- load planning -->
<include file="$(find pr2_arm_navigation_planning)/launch/ompl_planning.launch"/>
<!-- load controllers -->
<include file="$(find pr2_arm_navigation_filtering)/launch/trajectory_filter.launch"/>
<!-- load table objects -->
<include file="$(find table_objects)/launch/fixed_get_table_objects.launch"/>
<!-- right arm -->
<!-- load move_arm -->
<include file="$(find pr2_arm_navigation_actions)/launch/move_right_arm.launch"/>
<!-- load planning_environment -->
<include file="$(find cram_pick_and_place)/launch/environment_server_right_arm.launch"/>
<!-- load ik -->
<include file="$(find pr2_arm_navigation_kinematics)/launch/right_arm_collision_free_ik.launch"/>
<node name="interpolated_ik_node_right" pkg="interpolated_ik_motion_planner"
type="interpolated_ik_motion_planner.py" args="r" respawn="false"/>
<!-- left arm -->
<!-- load move_arm -->
<include file="$(find pr2_arm_navigation_actions)/launch/move_left_arm.launch"/>
<!-- load planning_environment -->
<include file="$(find cram_pick_and_place)/launch/environment_server_left_arm.launch"/>
<node name="interpolated_ik_node_left" pkg="interpolated_ik_motion_planner"
type="interpolated_ik_motion_planner.py" args="l" respawn="false"/>
<!-- load ik -->
<include file="$(find pr2_arm_navigation_kinematics)/launch/left_arm_collision_free_ik.launch"/>
<include file="$(find cotesys_ros_grasping)/launch/pr2_grasping_actions.launch"/>
</launch>
Asked by sam on 2012-12-04 16:55:11 UTC
Comments