ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Questions about libreansense2* & ros-*-librealsense2 packages

asked 2022-03-12 04:11:34 -0500

Thiago Martins gravatar image

updated 2022-03-12 07:15:39 -0500

Hey folks!

When working with ROS, there are two ways of installing the Intel RealSense Debian packages, by following Intel's documentation, or by installing the ROS-packaged RealSense.

1- From Intel's documentation

Reference: https://github.com/IntelRealSense/lib... Packages: libreansense2 and libreansense2-dev, version 2.50.

2- From the ROS community

Both libraries and headers are packaged into ros-noetic-librealsense2, also version 2.50.

Until this point, so far, so good.

However, for the sake of simplicity, if we decide to use the ros-noetic-librealsense2 because we already have the ROS repositories configured on Ubuntu, we'll be missing the other RealSense packages from Intel, for example, the librealsense2-utils, librealsense2-dkms, librealsense2-udev-rules, and possibly more, like librealsense2-net, librealsense2-gl, and their respective -dev as well.

So, what's the point of having only ros-noetic-librealsense2?

Can the ros-noetic-librealsense2 be used alone in the runtime without the Utils/DKSM without any issues? Intel says: "While we strongly recommend using DKMS package whenever possible".

Do the latest Kernel (from Ubuntu 20.04.3 (Linux 5.13)) includes the required code, eliminating the need for the librealsense2-dkms? While on Ubuntu 20.04 (Linux < 5.4) and 16.04 & ROS Kinetic we still need the DKMS?

At the end of the day, if we also need to install the RealSense Utils and DKMS from the Intel repositories, then, it might be better to not use the ros-noetic-librealsense2, and stick with all packages from Intel, to keep it consistent.

Cheers!

edit retag flag offensive close merge delete

Comments

In general on this site it is best to ask only 1 question per post. Multi-question posts tend not to be answered fully, plus some people won't respond because they are unable to answer everything.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2022-03-13 08:37:49 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-03-13 08:49:53 -0500

Mike Scheutzow gravatar image

updated 2022-03-13 08:51:01 -0500

My guess is that the apt package ros-noetic-librealsense2' exists because it is a dependency of some other package e.g. ros-noetic-realsense2-camera.

Historically there was a time not long ago that Intel was fixing bugs daily, and the ros packagers could not keep up. Using the Intel repository was the only acceptable option. Since Intel has deprecated this product, their updates have slowed.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2022-03-12 04:11:34 -0500

Seen: 748 times

Last updated: Mar 13 '22