lagadic / visp

Open Source Visual Servoing Platform

Home Page:https://visp.inria.fr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ViSP-third-party.txt not showing 3rd party Realsense2: Yes.

minku1219 opened this issue · comments

librealsense is already installed, still visp is not able to detect librealsense2 as package.

Just to confirm the package, i ran the command

locate librealsense2.so

output:-

/usr/lib/x86_64-linux-gnu/librealsense2.so.2.54
/usr/lib/x86_64-linux-gnu/librealsense2.so.2.54.2

Also i have followed the installation for visp properly.

I am able to get the output for the following file :- testUniversalRobotsGetData

What is the result of

$ sudo updatedb
$ locate librealsense2/rs.hpp

You need also cxx standard set to 11 at least

Screenshot from 2024-04-09 18-05-49

Attached is the output.

Should i export the path for REALSENSE2_INCLUDE_DIRS ?

There is something strange having the library in /usr/lib and the headers in /opt/ros.

Can you again run

$ sudo updatedb
$ locate librealsense2.so

Screenshot from 2024-04-09 18-25-05

Attached the output.
We have also installed ros-humble-librealsense2 and also followed the official librealsense2 SDK installation, referenced in the screenshot.
We have both so libraries in our system, but still the visp is not able to detect.

Can you suggest some quick resolutions?

I removed the ros installation related to librealsense and did a fresh installation for librealsense2 from official package.
Now the headed rs.hpp is also not being shown.

As you did removing the ros package is what I would suggest.
Did you install the official package with apt install librealsense2-dev?

Hi, Thanks for your valuable feedbacks. Perhaps, i have solved the issue after cleaning the librealsense installation completely and reinstalling it.