[Graceful Controller] Enhance approach goal logic#5947
[Graceful Controller] Enhance approach goal logic#5947SteveMacenski merged 15 commits intoros-navigation:mainfrom
Conversation
Codecov Report❌ Patch coverage is
... and 12 files with indirect coverage changes 🚀 New features to boost your workflow:
|
0d9a86e to
14be517
Compare
|
|
SteveMacenski
left a comment
There was a problem hiding this comment.
This looks so much better, thanks for iterating!
|
Sorry for the delay. Additionally, during the safe approach to the goal, the optimal angle can change at each control cycle, which may cause chattering. |
d79ebfc to
5d9c77e
Compare
Nice -- do you have a before and after video of that? I'm just curious mostly. |
|
This video shows the system behavior prior to the chattering mitigation. The black line indicates the trajectory generated by the graceful controller. chattering_approach.webmAfter implementing the mitigation, the response changes as shown below. stable_approach.webm |
Signed-off-by: Tatsuro Sakaguchi <tatsuro.sakaguchi@g.softbank.co.jp>
Signed-off-by: Tatsuro Sakaguchi <tatsuro.sakaguchi@g.softbank.co.jp>
Signed-off-by: Tatsuro Sakaguchi <tatsuro.sakaguchi@g.softbank.co.jp>
Signed-off-by: Tatsuro Sakaguchi <tatsuro.sakaguchi@g.softbank.co.jp>
Signed-off-by: Tatsuro Sakaguchi <tatsuro.sakaguchi@g.softbank.co.jp>
Signed-off-by: Tatsuro Sakaguchi <tatsuro.sakaguchi@g.softbank.co.jp>
Signed-off-by: Tatsuro Sakaguchi <tatsuro.sakaguchi@g.softbank.co.jp>
Signed-off-by: Tatsuro Sakaguchi <tatsuro.sakaguchi@g.softbank.co.jp>
Signed-off-by: Tatsuro Sakaguchi <tatsuro.sakaguchi@g.softbank.co.jp>
Signed-off-by: Tatsuro Sakaguchi <tatsuro.sakaguchi@g.softbank.co.jp>
Signed-off-by: Tatsuro Sakaguchi <tatsuro.sakaguchi@g.softbank.co.jp>
Signed-off-by: Tatsuro Sakaguchi <tatsuro.sakaguchi@g.softbank.co.jp>
Signed-off-by: Tatsuro Sakaguchi <tatsuro.sakaguchi@g.softbank.co.jp>
21a7b1a to
72d9cfd
Compare
| params_.obstacle_cost_margin = node->declare_or_get_parameter( | ||
| plugin_name_ + ".obstacle_cost_margin", 1); | ||
| params_.final_rotation_search_step = node->declare_or_get_parameter( | ||
| plugin_name_ + ".final_rotation_search_step", 0.1); |
There was a problem hiding this comment.
Make sure to add a docs update for the configuration guide at docs.nav2.org
|
Also your test has failed: |
Signed-off-by: Tatsuro Sakaguchi <tatsuro.sakaguchi@g.softbank.co.jp>
I think its good to go once we have that! |
|
Merged! Thanks so much for following up and fixing this as well! Any interest in more graceful improvements (or elsewhere? would like to have your help where you have interest!) 😉 |
Basic Info
Description of contribution in a few bullet points
obstacle_cost_marginandfinal_rotation_search_stepparametersobstacle_cost_marginto define the range of cost values considered as "close to obstacles," which triggers the search for safer alternatives.final_rotation_search_stepto control the granularity of the search for alternative spiral approaches.Description of documentation updates required from your changes
Description of how this change was tested
I was tested in a real environment that included open spaces, narrow corridors, and corners.
Future work that may be required in bullet points
For Maintainers:
backport-*.