Closed djaniel closed 1 month ago
Hi @djaniel I see that you used the libuvc backend installation method to install the librealsense SDK. This method typically works well with Jetson, especially with cameras like D435i that have an IMU.
A RealSense user at https://github.com/IntelRealSense/librealsense/issues/13326 who had problems when using Humble and JetPack 6 last week (though did not have the same problem as you) commented that their problems were resolved if they compiled librealsense from source code with the libuvc backend installation method using the build script at the link below.
https://github.com/IntelRealSense/librealsense/blob/master/doc/libuvc_installation.md
You also mention that you installed the ROS wrapper from source. Was that with the colcon build method in the wrapper's source code installation instructions in Step 3 at the link below?
https://github.com/IntelRealSense/realsense-ros?tab=readme-ov-file#installation-on-ubuntu
If you have used this method, you could try deleting the entire /ros2_ws catkin workspace folder to uninstall the wrapper and then attempt a source code build of the wrapper with colcon again to see if the errors continue.
Hi, I think I have a solution. Try running apt install libopencv-dev=4.5.4+dfsg-9ubuntu4
. Doing this will replace libopencv-dev version 4.8.0 with the version 4.5.4 to match the rest of the opencv install. This is the technique used by nvidia in their dev container docker build system.
I think the issue is that ROS2 installs libopencv-dev version 4.8.0 as a dependency. However jetpack 6 comes with the slightly older shared libraries for opencv. So when we install the correct version of libopencv-dev, opencv is now looking in the right place for libraries.
Thanks so much @jack-obrien for sharing your knowledge with @djaniel :)
Hi @djaniel Do you require further assistance with this case, please? Thanks!
Hi, no thank you. I did an installation from source, it worked.
You are very welcome. I'm pleased to hear that you succeeded. Thanks very much for the update!
Hello, I have been facing a weird issue, here is my setup:
Issue Description
I am working with the Jetson Nano Orin, JetsonPack 6. When I try to build from source the
realsense-ros
wrapper I get a weird message error:I get a sense that something is wrong with my installation. I did some validations:
Then, opencv shows weird numbers:
libcore-dev
shows v4.8.0, but the rest of the components are all 4.5.4. Weird. I reinstalled Ros-humble and the inconsistency remains. On my workstation they are all V 4.5.xDo you have any idea what is going on? Any comment would be greatly appreciated. Thanks,