Fix Ruckig termination condition#1963
Merged
henningkayser merged 1 commit intomoveit:mainfrom Mar 10, 2023
Merged
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1963 +/- ##
==========================================
- Coverage 50.31% 50.16% -0.14%
==========================================
Files 374 374
Lines 31358 31354 -4
==========================================
- Hits 15774 15726 -48
- Misses 15584 15628 +44
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Contributor
|
Can you link to the issue that this is fixing? |
cc58029 to
ee6d247
Compare
AndyZe
commented
Feb 22, 2023
moveit_core/trajectory_processing/test/test_ruckig_traj_smoothing.cpp
Outdated
Show resolved
Hide resolved
ee6d247 to
003d748
Compare
c0f73b5 to
5ac13f4
Compare
Member
Author
5ac13f4 to
572014b
Compare
6 tasks
|
|
henningkayser
approved these changes
Mar 10, 2023
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.
Description
Previously I didn't understand the difference between
ruckig::Finishedandruckig::Workingso I focused only onruckig::Finished. There's not much documentation but here it is: https://github.com/pantor/ruckig/blob/master/include/ruckig/result.hppThis corrects that error and adds a comment. Fixes #1960
This should significantly speed up Ruckig-smoothed trajectories. I'm seeing speedups in the range of 50% although it depends on the specific robot configuration.
Fixes #1960. It is a port of this MoveIt1 PR: moveit/moveit#3348
@swiz23 @mechwiz @nbbrooks
Plots. The performance is close to optimal but not quite optimal. This makes sense because the iterative process for multiple waypoints involves extending durations in 10% increments -- so it could be up to 10% non-optimal.
J1, vel limit=2.18 rad/s, accel limit=3.75 rad/s^2, jerk limit=100

J3, vel limit=2.18, accel limit=2.5, jerk limit=100
