-
Notifications
You must be signed in to change notification settings - Fork 4.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
Issues with RealSense D455 on Jetson Orin NX 16GB with ROS2 Humble and JetPack 6.0 #13456
Comments
Hi @denysderihlazov Have you tried building the ROS2 wrapper from source code instead of from packages to see if the problem still occurs, please? Install from source
|
Thanks so much @denysderihlazov for your detailed feedback and instructions of what worked for you! Does it make a difference if you add Is depth able to publish in RViz if you do not enable the pointcloud filter in the launch? Have you closed down realsense-viewer before performing the ROS launch, as the RealSense ROS wrapper does not require realsense-viewer to be running. |
你好,请问你是如何正常使用rtab-map的,我在安装rtab-map ros2版本时: 执行到rosdep update && rosdep install --from-paths src --ignore-src -r -y之后,发现在使用realsense-viewer就再也打不开相机了 orin@ubuntu:~/ros2_rt$ realsense-viewer |
Hello @2805651606 Your question has been replied to at #13467 (comment) - thank you! 您好@2805651606 您的问题已在 #13467 (comment) 回复 - 谢谢! |
Hi @denysderihlazov Do you require further assistance with this case, please? Thanks! |
Hi, thank you for your response. I’ll check it as soon as I resolve this issue. My camera is definitely connected, and there is enough power; the 25W mode (the most powerful one) is enabled. This situation is quite strange to me. Maybe I need to install some additional drivers. Also, I am experiencing the same issue when I try to run it via Okay, I found my old commands to start the camera. There are still some issues, but I can see the RGB and Depth cameras (though not pointclouds2). Thanks to these commands, I can run the camera after a reboot, which wasn’t possible before I discovered them. Here are the commands:
Here below result of what you asked me to check |
@denysderihlazov I went through your case again carefully from the beginning to analyze it again. In your latest RViz image, I note that Fixed Frame has a red error stating that map does not exist. Does anything appear in RViz if the Fixed Frame setting is changed from map to camera_link |
Hi:) I have only 1.5 month to make it working properly. Actually I have tried this:
I will probably start from the beginning. I have one more SSD NVMe If you have full list of what to install from like clean OS Ubuntu 22.04.4 to have SLAM/RTAB on Intel Realsense D455 |
An Nvidia guide published recently about using isaac_ros_visual_slam with a RealSense IMU-equipped camera (such as D455) may be a helpful reference. https://nvidia-isaac-ros.github.io/concepts/visual_slam/cuvslam/tutorial_realsense.html |
Hi MartyG-RealSense, Thank you for pointing out the Nvidia guide. I have already reviewed it and attempted to follow its steps, but I am still encountering issues. I’ve tried multiple approaches and have been stuck for quite some time now. Would it be possible for us to schedule a screensharing session to troubleshoot this problem together? I’m happy to compensate you for your time if needed. If we manage to resolve the issue, I’d be glad to create a detailed tutorial to help others set up the RealSense D455 with Isaac ROS Visual SLAM on Jetson Orin NX, JetPack 6.0+, Ubuntu 22.04.4, and ROS2 Humble. This is my uni diploma project and I have 1 month to finish it. I have Lidar, motors, power suply (totally everything except Intel Realsense D455 Slam/RTAB). Please let me know if this works for you. |
I am not able to engage in communication activities such as screen-sharing, remote control or live-chat and can only provide advice through comments on this support forum, unfortunately. JetPack 6 has problems with IMU-equipped RealSense cameras because JP6 removed a function called hiddraw that RealSense IMU cameras (which are known as HID devices) make use of. These problems can manifest as no IMU data available or the camera not being detected at all. Would it be possible for you to change Ubuntu 22.04 to 20.04 and use JetPack 5.1.3 instead of JP6? RealSense IMU cameras should be able to work with JP 5.1.3. If you need to use 22.04 and JP6 then IMU support for JP6 on a USB cable connection can be added by installing the RealSense MIPI driver at the link below, though it is a complex installation process. https://github.com/IntelRealSense/realsense_mipi_platform_driver If you decide to try this, please use the driver's Issues forum to ask questions about installation. https://github.com/IntelRealSense/realsense_mipi_platform_driver/issues An alternative backup plan you might be able to consider if the ROS2 approach does not work out is to switch to ROS1 and the RealSense ROS1 wrapper, as SLAM tends to be easier to implement in ROS1 than ROS2. Intel have a ROS1 / RTABMAP SLAM guide at the link below. https://github.com/IntelRealSense/realsense-ros/wiki/SLAM-with-D435i |
Thank you so much for your advice and insights. Since I have two NVMe SSDs on my Jetson Orin NX, I’ll try installing JetPack 5.1.3 on one of them. This setup will limit me to using ROS 2 Galactic or ROS 2 Foxy. I’m leaning towards ROS 2 Foxy, as its support ended in 2023, which might make it more stable than Galactic for my use case. However, I’m unsure which ROS 2 version would be the better choice for achieving SLAM/RTAB with the RealSense D455. Would you happen to have a 100% reliable recommendation on which combination of JetPack and ROS to use to ensure the best stability and functionality for SLAM or RTAB? Ideally, I’d like to stay on ROS 2, as I’ve previously encountered issues trying to use ROS 1 with this camera. This project is quite critical for me, as I’ve been stuck for over six months trying to solve this problem, and a working solution would mean a lot to me. Thank you in advance for any further guidance you can provide. |
I do not have a recommendation for a specific JP version other than 5.1.3. However, RealSense ROS2 users on this support forum who have attempted to implement SLAM have often used a combination of slam_toolbox and depthimage_to_laserscan instead of RTABMAP. IntelRealSense/realsense-ros#3235 (comment) is a currently open case that is using these two tools with 22.04 and Humble and an IMU-equipped D435i camera. Below is a link to the ROS2 Humble version of slam_toolbox. |
Issue Description:
Hello everyone,
I am experiencing issues with the Intel RealSense D455 camera on my Jetson Orin NX 16GB running Ubuntu 22.04.4 with JetPack 6.0 rev 2.
System details:
What works:
The camera is detected using lsusb:
Bus 002 Device 007: ID 8086:0b5c Intel Corp. Intel(R) RealSense(TM) Depth Camera 455
The camera works fine when using the realsense-viewer utility.
Problem:
When I try to use the camera through ROS2 or other tools (e.g., rs-fw-update), it fails to detect the camera properly. The following message appears when I check the system logs:
bash
sudo dmesg | grep realsense
[ 145.379196] usb 2-1.4: Process 7642 (realsense-viewe) called USBDEVFS_CLEAR_HALT for active endpoint 0x84
[ 145.531881] usb 2-1.4: Process 7571 (realsense-viewe) called USBDEVFS_CLEAR_HALT for active endpoint 0x82
Steps Taken:
bash
bash
Request:
Could anyone help me resolve this issue, or point me to the right direction on how to make the D455 work with ROS2 on Jetson Orin NX? It seems like the camera works only in realsense-viewer, but does not interact with ROS or rs-fw-update.
Thanks in advance!
The text was updated successfully, but these errors were encountered: