-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Bug report
Required Info:
- Operating System:
- Ubuntu 22.04.5 LTS
- ROS2 Version:
- Humble binaries
- Version or commit hash:
- 11.1.13-0jammy
- DDS implementation:
- Cyclonedds
Steps to reproduce issue
When working with a costmap with more then one different layers (in our case, we use ["static_layer", "obstacle_layer", "inflation_layer"]
), we face a problem after clearing the costmap: The the nav2_msgs::srv::ClearEntireCostmap
service returns after the costmap is cleared. However, at this point no scanner measurements are considered in the obstacle layer. Thus, the space which is not considered in the static layer is marked as free for a short time until the next scanner measurement is included in the obstacle layer.
Expected behavior
There should be an option to either enforce waiting on information in all layers being present before returning from the ClearEntireCostmap service call, or some option to verify the presence of information on all layers.
Actual behavior
After the ClearEntireCostmap service call the costmap only shows values form that static layer and no scanner measurements are yet considered in the obstacle layer. Therefore, obstacles in front of the robot are ignored for a brief time.