ros-navigation / navigation2

ROS 2 Navigation Framework and System
https://nav2.org/
Other
2.62k stars 1.31k forks source link

Empty Costamap when using point cloud for voxel layer #4739

Closed Cavalletta98 closed 3 weeks ago

Cavalletta98 commented 3 weeks ago

Bug report

Required Info:

Steps to reproduce issue

  1. In one terminal on the robot: ros2 launch clearpath_nav2_demos nav2.launch.py use_sim_time:=false
  2. In another terminal on the robot: ros2 launch clearpath_nav2_demos slam.launch.py use_sim_time:=false
  3. On the host machine: ros2 launch clearpath_viz view_navigation.launch.py namespace:=j100_0538

Expected behavior

Build a local costmap using point clouds generated by an Ouster OS LiDAR and a RealSense D435i camera.

Actual behavior

Costmap is empty when only the Voxel Layer is used. However, when the Static Layer is used, it functions correctly because the Static Layer relies on SLAM data, which utilizes information from the laser scan.

Additional information

Attached you can find the yaml files for nav2 and slam params.zip

SteveMacenski commented 3 weeks ago

Unfortunately, we do not currently offer support for third party robot vendors and their configurations / setups for Nav2. Please reach out to your robot vendor that setup your configurations for assistance. I can say though with near absolute certainty that the voxel layer in Humble is not broken for local costmaps. I would have received dozens of emails about that if so at the time of breakage ;-)

I'm guessing that you just don't have the right topic set in your config for your data.

Cavalletta98 commented 3 weeks ago

Thank you so much

Cavalletta98 commented 1 week ago

Hi @SteveMacenski i investigating deep and the problem is that my local costamp is working but is empty when using only the pointcloud from relasense camera. I shared with you the configuration used for the nav2. Do you have some ideas? the same nav2 configuration is working with the simulated realsense nav2.zip