-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Obstacle layer dynamic parameters #2922
Obstacle layer dynamic parameters #2922
Conversation
@AadityaPatanjali, please properly fill in PR template in the future. @SteveMacenski, use this instead.
|
LGTM I would wait for @SteveMacenski to take a look and for wait for checks to pass. |
@indraneelpatil what are your thoughts on this? You approve? @AadityaPatanjali, @indraneelpatil did the initial one for Obstacle layer, but this looks good to me! |
Hum, what happens here if the update frequency of the layer is very small or equal to zero ? |
Why? It wouldn't take effect until the next time there's a costmap layer update anyway so why preemptively do it? Enabled / footprint_clearing_enabled / combination_method are only used when there's an update coming. So changing it immediately or waiting for the next cycle would make no difference (e.g. it won't be used until then anywhere). Even Max Obstacle Height is only used in update bounds too https://github.com/ros-planning/navigation2/blob/da602f8a19fa6aaa7078e56ff0c3c83517feb533/nav2_costmap_2d/plugins/obstacle_layer.cpp#L452. You would be correct about |
* Added doxygen HTML to gitignore * dynamicParametersCallback with max_obstacle_height * Added dynamic update of enabled, footprint_clearing_enabled, and combination_method * Fixed failing collision test * Moved mutex locking from updateFootprint to updateBounds
Basic Info
Description of contribution in a few bullet points
Added dynamic parameter update from this list: https://github.com/ros-planning/navigation/blob/noetic-devel/costmap_2d/cfg/ObstaclePlugin.cfg (enabled, footprint_clearing_enabled, max_obstacle_height, and combination_method)
Description of documentation updates required from your changes
Future work that may be required in bullet points
For Maintainers: