Items with no label
3335 Discussions

"Failed to load nodelet [/camera/driver] " error when trying to roslunch the ZR300 Nodelet

BKatz1
Beginner
10,359 Views

Hi all,

We are trying to setup the environment of Joule development kit.

we followed:

1) http://www.intel.com/content/www/us/en/support/boards-and-kits/intel-joule-kits/000023508.html How to Connect the Intel® RealSense™ Camera ZR300 to the Intel®...

2) https://software.intel.com/sites/products/realsense/intro/getting_started.html Introduction to Intel® RealSense™ SDK for Linux: Getting Started

3) http://wiki.ros.org/librealsense# uvcvideo_Driver_Patches librealsense - ROS Wiki (also Enable Kernel Sources)

4) http://wiki.ros.org/realsense_camera realsense_camera - ROS Wiki

5) we also created new catkin workspace for the project.

We launched the ros core and rviz nodes, then we tried to launch the roslaunch realsense_camera zr300_nodelet_default.launch command and got the Failed to load nodelet [/camera/driver] of type [realsense_camera/ZR300Nodelet]. (see terminal copy and print screen attached )

Does anybody know how we can manage the lunch the zr300 and bind it to the rviz node?

here is the error info:

brobot@brobot-Broxton-M:~/Downloads/realsense-1.6.1/realsense_camera/launch$ roslaunch zr300_nodelet_default.launch

... logging to /home/brobot/.ros/log/73e9f214-4635-11e7-813f-a0c58904810c/roslaunch-brobot-Broxton-M-10759.log

Checking log directory for disk usage. This may take awhile.

Press Ctrl-C to interrupt

Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://brobot-broxton-m:40042/ http://brobot-Broxton-M:40042/

SUMMARY

========

PARAMETERS

* /camera/driver/base_frame_id: camera_link

* /camera/driver/camera_type: ZR300

* /camera/driver/color_frame_id: camera_rgb_frame

* /camera/driver/color_optical_frame_id: camera_rgb_optica...

* /camera/driver/depth_frame_id: camera_depth_frame

* /camera/driver/depth_optical_frame_id: camera_depth_opti...

* /camera/driver/fisheye_frame_id: camera_fisheye_frame

* /camera/driver/fisheye_optical_frame_id: camera_fisheye_op...

* /camera/driver/imu_frame_id: camera_imu_frame

* /camera/driver/imu_optical_frame_id: camera_imu_optica...

* /camera/driver/ir2_frame_id: camera_ir2_frame

* /camera/driver/ir2_optical_frame_id: camera_ir2_optica...

* /camera/driver/ir_frame_id: camera_ir_frame

* /camera/driver/ir_optical_frame_id: camera_ir_optical...

* /camera/driver/serial_no:

* /camera/driver/usb_port_id:

* /rosdistro: kinetic

* /rosversion: 1.12.6

NODES

/camera/

driver (nodelet/nodelet)

nodelet_manager (nodelet/nodelet)

auto-starting new master

process[master]: started with pid [10772]

ROS_MASTER_URI=http://localhost:11311/ http://localhost:11311

setting /run_id to 73e9f214-4635-11e7-813f-a0c58904810c

process[rosout-1]: started with pid [10785]

started core service [/rosout]

process[camera/nodelet_manager-2]: started with pid [10788]

process[camera/driver-3]: started with pid [10789]

[ INFO] [1496258106.479876112]: Initializing nodelet with 4 worker threads.

[ERROR] [1496258106.647763488]: Failed to load nodelet [/camera/driver] of type [realsense_camera/ZR300Nodelet] even after refreshing the cache: Failed to load library /opt/ros/kinetic/lib//librealsense_camera_nodelet.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = libopencv_core3.so.3.2: cannot open shared object file: No such file or directory)

[ERROR] [1496258106.647865152]: The error before refreshing the cache was: Failed to load library /opt/ros/kinetic/lib//librealsense_camera_nodelet.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = libopencv_core3.so.3.2: cannot open shared object file: No such file or directory)

[FATAL] [1496258106.648404736]: Failed to load nodelet '/camera/driver` of type `realsense_camera/ZR300Nodelet` to manager `nodelet_manager'

[camera/driver-3] process has died [pid 10789, exit code 255, cmd /opt/ros/kinetic/lib/nodelet/nodelet load realsense_camera/ZR300Nodelet nodelet_manager depth:=depth color:=color ir:=ir ir2:=ir2 fisheye:=fisheye imu:=imu __name:=driver __log:=/home/brobot/.ros/log/73e9f214-4635-11e7-813f-a0c58904810c/camera-driver-3.log].

log file: /home/brobot/.ros/log/73e9f214-4635-11e7-813f-a0c58904810c/camera-driver-3*.log

OS: Ubuntu16.04

ROS: Kinetic

http://www.intel.com/content/www/us/en/support/boards-and-kits/intel-joule-kits/intel-joule-570x-developer-kit.html Intel® Joule™ 570x Developer Kit

0 Kudos
1 Solution
idata
Employee
7,368 Views

Hi RoBoris,

 

 

We have found the way to make this work, so please try to follow the following steps after the ROS installation guide that I provided you before:

 

 

1. Install librealsense from source following the guide that is here: https://github.com/IntelRealSense/librealsense

 

2. Run the make command under the following directory: /librealsense/build/unit-tests/

 

3. Go to the /librealsense/build/devel/lib/librealsense and run the executable: ZR300-live-test.

 

4. After you have run the test you will be able to use the ROS commands.

 

 

Let us know if it works for you, and feel free to ask us if you have doubts.

 

 

Have a nice day,

 

 

Regards,

 

Leonardo R.

View solution in original post

0 Kudos
7 Replies
idata
Employee
7,368 Views

Hi RoBoris,

Thank you for contacting us.

I was able to replicate this issue, let me do some test and I'll contact you when I have updates.

Have a nice day.

Regards,

Leonardo R.

0 Kudos
idata
Employee
7,368 Views

Hi RoBoris,

 

 

We are working on this, and we want more information about this, so could you be so kind to provide us the log files listed at the bottom of the error message?

 

 

We are going to analyze them and compare them with ours.

 

 

Thank you for your patience.

 

 

Regards,

 

Leonardo R.
0 Kudos
BKatz1
Beginner
7,368 Views

log attached

thanks.

0 Kudos
idata
Employee
7,368 Views

Hi RoBoris,

 

 

Thanks for the file. We are going to check it, and we will let you know when we have updates.

 

 

Have a nice day.

 

 

Regards,

 

Leonardo R.
0 Kudos
idata
Employee
7,368 Views

Hi RoBoris,

 

 

We have found this ROS installation guide: https://github.com/IntelRealSense/realsense_samples_ros, could you please try to install ROS following it?

 

 

Let us know if it works.

 

 

Have a nice weekend.

 

 

Regards,

 

Leonardo R.
0 Kudos
idata
Employee
7,369 Views

Hi RoBoris,

 

 

We have found the way to make this work, so please try to follow the following steps after the ROS installation guide that I provided you before:

 

 

1. Install librealsense from source following the guide that is here: https://github.com/IntelRealSense/librealsense

 

2. Run the make command under the following directory: /librealsense/build/unit-tests/

 

3. Go to the /librealsense/build/devel/lib/librealsense and run the executable: ZR300-live-test.

 

4. After you have run the test you will be able to use the ROS commands.

 

 

Let us know if it works for you, and feel free to ask us if you have doubts.

 

 

Have a nice day,

 

 

Regards,

 

Leonardo R.
0 Kudos
idata
Employee
7,368 Views

Hi RoBoris,

 

 

Do you have any updates about this?

 

 

We will be waiting for your response.

 

 

Regards,

 

Leonardo R.
0 Kudos
Reply