Robotics StackExchange | Archived questions

Problem using pointcloud data in NVIDIA Jetson Xavier NX

I have been trying to use pointcloud data for autonomous navigation of my mobile robot. I am using an Intel Realsense D435i sensor. Everything works fine when I use my Laptop for navigation. But I am facing problems when I run the same package in NVIDIA Jetson Xavier NX. The robot is not able to navigate when I use Jetson Xavier NX. I am using pointcloud_to_laserscan package for navigation. I tried depthimage_to_laserscan package also in the similar way. But nothing worked. The realsense-viewer is opening in Jetson but the processing is very slow. I have connected the camera separately to Jetson and used Realsense Wrapper package for getting the camera topics. I want to use /camera/depth/color/points topic for my purpose. Topics are being published but data is not coming. So I am not able to visualize the pointclouds in RViz. It is showing a warning as follows.

[ WARN] [1645684556.525396941]: No stream match for pointcloud chosen texture Process - Color

The Jetson Xavier NX which I am using has the following specifications.

I followed the same procedure using my Laptop and everything worked really well. Even I am able to do navigation also. I have installed Ubuntu on SSD of my Laptop. The specifications of my Laptop are given below.

I saw this question in ROS answers which tells that we need to use GPU for using pointclouds. Please help me if the GPU has to be enabled in my Jetson Xavier NX or if it is an error with librealsense.

Asked by ckashis on 2022-02-24 03:52:49 UTC

Comments

What installation procedure did you use on the Jetson? https://github.com/IntelRealSense/librealsense/blob/master/doc/installation_jetson.md ?

Asked by peci1 on 2022-02-26 10:15:57 UTC

I followed the same procedure described in the link you have provided. But I still face the same issue. I opened realsense-viewer to find whether it is an error with librealsense installation or not. It opened and I couldn't find any error. I even tried to run the package from SSD (link).

Asked by ckashis on 2022-03-03 00:10:46 UTC

And the non-colored pointcloud is coming? What exact launch file are you using?

Asked by peci1 on 2022-03-03 03:41:52 UTC

Non-colored pointclouds are not coming. I am using the rs_camera.launch file in realsense2_camera package present here.

Asked by ckashis on 2022-03-03 05:37:19 UTC

Give a try to rs_rgbd.launch

Asked by peci1 on 2022-03-03 06:02:58 UTC

Has anyone figured this problem out? I am facing the same issue on similar configuration and there is no point cloud being published on topic even though it is availale.

Asked by andrew30 on 2022-10-10 09:40:13 UTC

Answers