Global Costmap not visualized
Hi,
I tried to visualize the costmap in RVIZ. The local costmap is published and visualized, while the global costmap doesn't publish any data. Since RVIZ is able to find the global costmap topic, I assume that it is advertised but no data are transmitted (no messages are received).
I use the following configuration:
- cost_scaling_factor: 10.0
- footprint: '[]'
- global_frame: /map
- height: 20
- inflation_radius: 0.5
- lethal_cost_threshold: 100
- map_topic: map
- map_type: costmap
- mark_threshold: 0
- max_obstacle_height: 0.6
- max_obstacle_range: 20
- observation_sources: scan
- obstacle_range: 20
- origin_x: 0.0
- origin_y: 0.0
- origin_z: 0.0
- publish_frequency: 1.0
- publish_voxel_map: false
- raytrace_range: 3.0
- resolution: 0.05
- restore_defaults: false
- robot_base_frame: /base_footprint
- robot_radius: 0.18
- rolling_window: false
- scan: {clearing: true, data_type: LaserScan, marking: true, topic: /scan}
- static_map: true
- track_unknown_space: true
- transform_tolerance: 0.5
- unknown_cost_value: 255
- unknown_threshold: 255
- update_frequency: 1.0
- width: 20
- z_resolution: 0.2
- z_voxels: 10
Hopefully someone could help or give me a hint.
Thanks, Daniel
Not sure about this, but have you tried setting publish_voxel_map to true?
Unfortunately the global_costmap is still not published! I appreciate every hint or idea to visualize it in rviz.
What I meant with my (deleted) comment was: could you provide the whole costmap configuration file as it is. Not just the settings as they should be. Maybe there's another namespace issue...
What is the global topic you are listening on?
The topic I am listening on is: /move_base/global_costmap/obstacles The topic is "ok" (in rviz) but no messages are received. There is also no namespace issue, I checked every parameter twice. Thanks to all of you
You might want to check that the publish_frequency is > 0.0 for the global costmap, when running the system. The safest way would be to dump the params, while it's running, so you see what's really going on.
Which version of ROS are you using?
I use ROS groovy!