ANYbotics / elevation_mapping

Robot-centric elevation mapping for rough terrain navigation
BSD 3-Clause "New" or "Revised" License
1.25k stars 436 forks source link

The sensor type pointcloud is not available #178

Open Psyduck123 opened 2 years ago

Psyduck123 commented 2 years ago

Hi ANYbotics team!

Thank you for sharing the great work! I got an issue when I launch the elevation map. I Hope could get some help from your guys.

I have recorded the rosbag with realsense D435 and T265. Then I play the rosbag and launch the elevation map, I got an error like this:

PARAMETERS

NODES / elevation_mapping (elevation_mapping/elevation_mapping) rviz (rviz/rviz)

ROS_MASTER_URI=http://localhost:11311

process[elevation_mapping-1]: started with pid [19895] process[rviz-2]: started with pid [19896] [ WARN] [1627314207.262260646]: Could not find the parameter: algorithm. Setting to default value: 'area'. [ WARN] [1627314207.262782677]: Could not find the parameter: parallelization_enabled. Setting to default value: 'false'. [ WARN] [1627314207.262801917]: Could not find the parameter: thread_number. Setting to default value: 'automatic'. [ INFO] [1627314207.263397473]: Elevation mapping node started. [ INFO] [1627314207.268062300]: Elevation map grid resized to 60 rows and 60 columns. [ERROR] [1627314207.272677919]: The sensor type pointcloud is not available. [elevation_mapping-1] process has died [pid 19895, exit code -11, cmd /home/marmot/realrobot_ws/devel/lib/elevation_mapping/elevation_mapping __name:=elevation_mapping __log:=/home/marmot/.ros/log/45faa8ae-ede7-11eb-b029-b0a460dfc915/elevation_mapping-1.log]. log file: /home/marmot/.ros/log/45faa8ae-ede7-11eb-b029-b0a460dfc915/elevation_mapping-1*.log

here is the config file image image

I got the pointcloud topic in Rviz and terminal: $ rostopic type /d435/depth/color/points sensor_msgs/PointCloud2

maximilianwulf commented 2 years ago

Hey @Psyduck123, this should actually work, did you dig further into it?

I tested your configuration with the waffle demo, could you give it a try?