Skip to content

feat: add acceleration/deceleration limits#22

Open
Nisarg236 wants to merge 2 commits into
noeticfrom
nisarg/acceleration_limits
Open

feat: add acceleration/deceleration limits#22
Nisarg236 wants to merge 2 commits into
noeticfrom
nisarg/acceleration_limits

Conversation

@Nisarg236

@Nisarg236 Nisarg236 commented Jun 3, 2026

Copy link
Copy Markdown
Member

This pr adds ability to constrain acceleration to provide smooth commands which the robot can actually follow. This pr also adds ability to add deceleration limits to angular velocity which is not there in nav2 which works as below.

0 to angular vel -> constrain with max angular acceleration
0 to - angular vel -> constrain with max angular acceleration
+angular vel to 0 -> constrain with max angular deceleration
- angular vel to 0 -> constrain with max angular deceleration

Also there have been some fixes related to acceleration in nav2 which I have considered here. The result looks nice and smooth.

There is some overshoot at the end but it could be related to other params which need to be tuned or sim localization jumps, need to test on real robot...

simplescreenrecorder-2026-06-04_15.29.02.mp4
simplescreenrecorder-2026-06-04_15.49.08.mp4

@Nisarg236 Nisarg236 marked this pull request as ready for review June 4, 2026 08:55
@Nisarg236 Nisarg236 requested a review from deeparaj24 June 4, 2026 08:55
@deeparaj24

Copy link
Copy Markdown

@Nisarg236 Is this the PR that was back-ported
ros-navigation/navigation2#6072

@Nisarg236

Copy link
Copy Markdown
Member Author

yes that one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants