-
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
PointCloud for local costmap #3243
Comments
Hi @Cavalletta98 There is a similar sounding /nav2 case at ros-navigation/navigation2#3241 with an empty local costmap that is not detecting obstacles. Is there anything in that link that is helpful to you, please? |
Hi @MartyG-RealSense the discussion is very old. I noticed that, when i launch the nav2 stack, i'm getting this warning into the Realsense driver: |
The message Plese try adding the parameters enable_infra1:=true pointcloud.stream_filter:=1 to your ROS2 launch instruction to texture the pointcloud with the infrared topic instead of the color topic to see whether the costmap can then be displayed.
|
realsense.zip
|
In your ROS launch log, does the line Device USB type have 2.1 or 3.1 beside it? If it is 2.1 then this would mean that the camera is being detected as being on a USB 2.1 connection. If you were trying to set the configuration 1280x720 at 30 FPS then this would be rejected as invalid by the launch on a USB 2.1 connection, as 2.1 only supports 6 FPS for that resolution on a D435i. |
Issue Description
I'm trying to use the PointCloud from the camera to build a local costmap into Nav2. The plugin that i'm using is the voxel layer.
This is the nav2 configuration file:
nav2.zip
The problem is that the costmap is empty even if there are obstacles in front of the camera.
Can someone could help me?
The text was updated successfully, but these errors were encountered: