Improve Cartesian interpolation#3197
Merged
rhaschke merged 8 commits intomoveit:masterfrom Sep 9, 2022
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3197 +/- ##
==========================================
- Coverage 62.08% 62.08% -0.00%
==========================================
Files 375 376 +1
Lines 33139 33179 +40
==========================================
+ Hits 20572 20596 +24
- Misses 12567 12583 +16
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
- Fixup doc comments - Add API providing the translation vector = direction * distance - Simplify implementation
This allows performing a circular motion about a non-link origin.
6bffacc to
37e4163
Compare
simonschmeisser
approved these changes
Sep 3, 2022
Contributor
simonschmeisser
left a comment
There was a problem hiding this comment.
Looks good but I would appreciate a test for the link_offset parameter
Contributor
Author
|
Sure. I will add a short test... |
Contributor
Author
|
Eventually, I added some tests, also for the original |
gtest 1.8 doesn't provide SetUpTestSuite(). Thus, we cannot share the RobotModel across tests.
Contributor
Author
|
Argh! I was using gtest 1.10 features not yet available in Bionic/Melodic. |
Contributor
|
Thanks a lot for improving the tests as well! |
This was referenced Nov 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.
So far, Cartesian interpolation only considered link frames to move along a straight-line. This PR augments this to arbitrary frames by considering a configurable offset to the link frame. Thus, now the frame resulting from link * offset should move along a straight line towards the target. Obviously, this is only relevant for rotational motions - a fixed offset for linear motions doesn't change the resulting motion. For example, the new implementation allows for circular motions around a non-link origin.