Use the new declare_or_get_parameter API for nav2_costmap_2d #5867
Use the new declare_or_get_parameter API for nav2_costmap_2d #5867SteveMacenski merged 6 commits intoros-navigation:mainfrom
Conversation
Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>
Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>
| node->get_parameter("inscribed_obstacle_cost_value", inscribed_obstacle_cost_value_); | ||
| node->get_parameter("unknown_cost_value", unknown_cost_value_); | ||
| node->get_parameter("trinary_costmap", trinary_costmap_); | ||
| use_maximum_ = node->declare_or_get_parameter( |
There was a problem hiding this comment.
I am moving a few parameters from costmap2dros to the static layer, since that's the only place they are actually used, do you agree with me
There was a problem hiding this comment.
I'd keep them global - seems silly to make people migrate these parameters if we don't have to.
There was a problem hiding this comment.
^ Something like this could possibly cause other packages' tests to fail if the config files weren't updated respectively. I think its best to leave this alone.
|
Wow, I didn't realize that a lot of tests are failing in other packages. I'll take a look |
Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>
Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>
|
The test updates are mostly due to moving I can also spend ~10 mins updating stvl + npvl tomorrow |
|
Thanks - I wish STVL was under better licensing so I could just pull it into Nav2 -_- But, I don't have control over that - that was my ex-company's choice |
|
STVL: SteveMacenski/spatio_temporal_voxel_layer#350 For NPVL: I don't really see the declare or get pattern there, so I didn't update it |
…igation#5867) * Use new api for nav2_costmap_2d Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> * Self review Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> * Update tests Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> * Revert static layer parameters Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> * Reorder Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> --------- Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>
Basic Info
Description of contribution in a few bullet points
Description of documentation updates required from your changes
Description of how this change was tested
Future work that may be required in bullet points
For Maintainers:
backport-*.