[Graceful Controller] Add deceleration limit#5511
[Graceful Controller] Add deceleration limit#5511SakshayMahna wants to merge 10 commits intoros-navigation:mainfrom
Conversation
Signed-off-by: Sakshay Mahna <sakshum19@gmail.com>
Signed-off-by: Sakshay Mahna <sakshum19@gmail.com>
Signed-off-by: Sakshay Mahna <sakshum19@gmail.com>
|
@SteveMacenski A few points to note on the implementation:
|
|
Also check out the CI tests, a few are legit failing it looks like from this update |
Update cloned repo
|
@SakshayMahna any update? I see you pulled in main |
|
No not yet. I will get it done by this week. |
Signed-off-by: Sakshay Mahna <sakshum19@gmail.com>
|
Ping me when you want a review :-) |
Signed-off-by: Sakshay Mahna <sakshum19@gmail.com>
Signed-off-by: Sakshay Mahna <sakshum19@gmail.com>
Signed-off-by: Sakshay Mahna <sakshum19@gmail.com>
Up to date with main
Codecov Report❌ Patch coverage is
... and 4 files with indirect coverage changes 🚀 New features to boost your workflow:
|
|
Is this ready for a review yet? :-) |
|
Hi @SteveMacenski |
nav2_graceful_controller/include/nav2_graceful_controller/smooth_control_law.hpp
Show resolved
Hide resolved
Signed-off-by: Sakshay Mahna <sakshum19@gmail.com>
|
Single constructor for Smooth Control Law now. |
| k_phi_, k_delta_, beta_, lambda_, slowdown_radius_, v_linear_min_, v_linear_max_, | ||
| v_angular_max_); | ||
| k_phi_, k_delta_, beta_, lambda_, | ||
| slowdown_radius_, INFINITY, |
There was a problem hiding this comment.
How about std::numeric_limits<double>::max()? This is typically how we represent a large initialized value
| * @param backward If true, the robot is moving backwards. Defaults to false. | ||
| * @return Velocity command. | ||
| */ | ||
| geometry_msgs::msg::Twist calculateRegularVelocity( |
There was a problem hiding this comment.
Why the duplication for the calc velocity / next pose methods? I Think this falls into the same camp to remove the duplication of methods. Can we simply call a single implementation and in the docking have the field for that be some arbitrarily high value like INF / MAX?
Basic Info
Description of contribution in a few bullet points
Graceful Controller makes use of a slowdown radius to stop at the target. This PR additionally applies deceleration limit while the robot is stopping.
Description of documentation updates required from your changes
deceleration_maxto Graceful Controller.Description of how this change was tested
Tested in simulation.
Future work that may be required in bullet points
For Maintainers:
backport-*.