-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build problem on D455 on Xavier NX Jetpack 5.01 - OpenCV #2390
Comments
Thanks very much @martinerk0 for sharing the method that worked for you in resolving your OpenCV issue in the RealSense ROS wrapper! It is unclear why the _ZN2cv3MatC1Ev occurs on rare occasions, though one possibility is if a different version of OpenCV is installed after OpenCV has already been installed. Issues with pointcloud, and also depth-color alignment, on Jetson boards specifically are a known issue in the RealSense ROS wrapper (desktop / laptop PCs are not affected by it). The problems can include very low FPS of around 3 or missing color. For ROS1 the current best solution is to use librealsense 2.43.0 and wrapper 2.2.23. More information can be found at #1967 |
Hello, @martinerk0. I was just trying to install librealsense with the same setup. I have had success in the past with this setup, but I am trying once again to build with the additional option:
Were you able to build with this option, or did you omit it? |
@RNorlie No, I got errors similar to this thread IntelRealSense/librealsense#6964 (comment) and since I wanted only ROS pointclouds, I just did it without it. |
@martinerk0 Thank you for your response. I'll open my own issue! |
@MartyG-RealSense Btw, it is interesting that realsense-viewer on Xavier NX runs at 30fps but ROS wrapper only at 2-3. I don't think it could be just overhead of packing data into the messages, I will try your ( librealsense 2.43.0 and wrapper 2.2.23 ) recommendation when I get another Jetson device and see if it helps. |
Hi @martinerk0 Whilst the RealSense ROS wrapper uses librealsense as its backend, some functions in the wrapper are not handled in the same way that librealsense does in order to maintain compatibility with ROS standards. |
Hi @martinerk0 Do you require further assistance with this case, please? Thanks! |
No, you can close this. Thanks! |
Thanks very much @martinerk0 for the update! As you suggested, I will close the case. Thanks again! |
Hi @RNorlie How did you solve the problem? It looks like python 3.8 is not found. Here is my error info:
|
Hello everyone, same problem here: i am stuck here for almost a day. can anyone help? -- Found PythonInterp: /usr/bin/python3.8 (found suitable version "3.8.10", minimum required is "3.6") |
Hi @arnoluken A RealSense user with Python 3.8 who experienced the same error messages posted the full solution that worked in their particular case at IntelRealSense/librealsense#12626 (comment) |
Hi, I recently installed Jetpack 5.01 on Jetson Xavier NX ( Ubuntu 20.04 and ROS Noetic )
Firstly I installed realsense lib and ros wrapper using sudo apt-get and while it worked, I thought pointcloud was very low quality and low fps (or pps? - pointcloud per seconds :D ) (around 2 hz with rostopic hz)
I tried to build from source librealsense and it worked with librealsense script.
Then I built realsense-ros from source, but when I wanted to run
roslaunch realsense2_camera rs_camera.launch
I got error:/opt/ros/noetic/lib/nodelet/nodelet: symbol lookup error: /home/martinerk0/catkin_ws/devel/lib//librealsense2_camera.so: undefined symbol: _ZN2cv3MatC1Ev
I found info at some chinese website that It might me OpenCV dependency issue, but it didn't quite solve it, but because I created some package with OpenCV previously, I added this to CMakeLists.txt
After building with this modified CMakeLists.txt using catkin_make everything runs fine. Only problem is it is still the same hz around 2-3 but I think pointclouds generated are "cleaner". Or I don't know, I'm just happy that I resolved it and maybe this could prove useful for future Jetpack 5 users who will want to build from source. What do you think caused this OpenCV dependency issue? I have not had any problems using apt-get.
EDIT: I used latest versions of librealsense and ros wrapper source.
The text was updated successfully, but these errors were encountered: