Open
Description
#2827 に示すようにInstall PCL from source with CUDAの手順を行い,jsk_recognitionをbuildした後,
roslaunch jsk_pcl_ros sample_kinfu.launch
のサンプルを実行すると以下のエラーが発生してkinfuのプロセスが死んでしまいました.
process[kinfu-24]: started with pid [1121253]
type is jsk_pcl/Kinfu
[ERROR] [1713681488.335802289]: Skipped loading plugin with error: XML Document '/opt/ros/noetic/share/prosilica_camera/plugins/nodelet_plugins.xml' has no Root Element. This likely means the XML is malformed or missing..
[ERROR] [1713681488.398246717]: Skipped loading plugin with error: XML Document '/opt/ros/noetic/share/prosilica_camera/plugins/nodelet_plugins.xml' has no Root Element. This likely means the XML is malformed or missing..
[ERROR] [1713681488.712618028, 1498131092.821610080]: Skipped loading plugin with error: XML Document '/opt/ros/noetic/share/prosilica_camera/plugins/nodelet_plugins.xml' has no Root Element. This likely means the XML is malformed or missing..
[ERROR] [1713681488.714973268, 1498131092.821610080]: Failed to load nodelet [/kinfu] of type [jsk_pcl/Kinfu] even after refreshing the cache: MultiLibraryClassLoader: Could not create object of class type jsk_pcl_ros::Kinfu as no factory exists for it. Make sure that the library exists and was explicitly loaded through MultiLibraryClassLoader::loadLibrary()
[ERROR] [1713681488.714992792, 1498131092.821610080]: The error before refreshing the cache was: MultiLibraryClassLoader: Could not create object of class type jsk_pcl_ros::Kinfu as no factory exists for it. Make sure that the library exists and was explicitly loaded through MultiLibraryClassLoader::loadLibrary()
[kinfu-24] process has died [pid 1121253, exit code 255, cmd /opt/ros/noetic/lib/nodelet/nodelet standalone jsk_pcl/Kinfu ~input/camera_info:=/camera/depth_registered/camera_info ~input/depth:=/camera/depth_registered/hw_registered/image_rect_raw ~input/color:=/camera/rgb/image_rect_color __name:=kinfu __log:=/home/kanazawa/.ros/log/b66322fc-ffa9-11ee-a86a-79b99c0bb4cb/kinfu-24.log].
log file: /home/kanazawa/.ros/log/b66322fc-ffa9-11ee-a86a-79b99c0bb4cb/kinfu-24*.log
エラーメッセージ的には#1482 や https://sourceforge.net/p/jsk-ros-pkg/tickets/119/ が近そうですがよくわかりません.
https://answers.ros.org/question/110316/pluginception-build-factory/
を見るとライブラリのリンクが関係しそうなので,build周りを確認していると,
build時にPCL_GPU_KINFU_LARGE_SCALE_FOUND
の変数がtrue?になっておらず
jsk_recognition/jsk_pcl_ros/CMakeLists.txt
Lines 422 to 426 in 9087486
辺りの処理が行われていないのが原因のように思います.
この変数や
PCL_GPU_KINFU_LARGE_SCALE_LIBRARY
やPCL_GPU_CONTAINERS_LIBRAR
辺りの変数はbuild時に手動で指定する必要があるのでしょうか? あるいはインストールの手順が間違っているor不足しているのでしょうか?
Metadata
Metadata
Assignees
Labels
No labels