fix: correct curvature signal on RPP#2979
Merged
SteveMacenski merged 2 commits intoros-navigation:mainfrom May 31, 2022
Merged
Conversation
Signed-off-by: Afonso da Fonseca Braga <afonso.braga@engenharia.ufjf.br>
Contributor
|
@afonsofonbraga, please properly fill in PR template in the future. @SteveMacenski, use this instead.
|
Member
|
Toggling to trigger CI, it didn't for some reason 🤷 |
Member
|
LGTM other than what's mentioned above + CI run |
nav2_regulated_pure_pursuit_controller/src/regulated_pure_pursuit_controller.cpp
Outdated
Show resolved
Hide resolved
Signed-off-by: Afonso da Fonseca Braga <afonso.braga@engenharia.ufjf.br>
Contributor
Author
|
Sorry by the force on the push command, the commit wasn't signed off. All fixed now. |
SteveMacenski
approved these changes
May 31, 2022
Member
|
Thanks for the patch! |
afonsofonbraga
added a commit
to brisa-robotics/navigation2
that referenced
this pull request
Jun 2, 2022
* fix: correct curvature signal Signed-off-by: Afonso da Fonseca Braga <afonso.braga@engenharia.ufjf.br> * cleanup: move sign's position Signed-off-by: Afonso da Fonseca Braga <afonso.braga@engenharia.ufjf.br>
7 tasks
SteveMacenski
pushed a commit
that referenced
this pull request
Jun 2, 2022
redvinaa
pushed a commit
to EnjoyRobotics/navigation2
that referenced
this pull request
Jun 30, 2022
* fix: correct curvature signal Signed-off-by: Afonso da Fonseca Braga <afonso.braga@engenharia.ufjf.br> * cleanup: move sign's position Signed-off-by: Afonso da Fonseca Braga <afonso.braga@engenharia.ufjf.br>
This was referenced Jul 22, 2022
hodgespodge
pushed a commit
to RobotCodeLab/navigation2
that referenced
this pull request
Sep 12, 2022
…ation#2995) * fix: correct curvature signal Signed-off-by: Afonso da Fonseca Braga <afonso.braga@engenharia.ufjf.br> * cleanup: move sign's position Signed-off-by: Afonso da Fonseca Braga <afonso.braga@engenharia.ufjf.br>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Basic Info
Description of contribution in a few bullet points
Taking a closer look into the RPP at this line https://github.com/ros-planning/navigation2/blob/80d7d0a080d7401607fd85216f9c450518e7ed42/nav2_regulated_pure_pursuit_controller/src/regulated_pure_pursuit_controller.cpp#L628 the linear_vel is being multiplied by the signal, changing the direction of the curvature at line
https://github.com/ros-planning/navigation2/blob/80d7d0a080d7401607fd85216f9c450518e7ed42/nav2_regulated_pure_pursuit_controller/src/regulated_pure_pursuit_controller.cpp#L333
My solution was to also multiply at line 333 by the sign to revert the multiplication and not messing with the applyConstraints function. The result is:
Description of documentation updates required from your changes
Future work that may be required in bullet points
For Maintainers: