Add new IK/FK virtual methods and const correctness in base interface#297
Open
oguzhanbzglu wants to merge 3 commits into
Open
Add new IK/FK virtual methods and const correctness in base interface#297oguzhanbzglu wants to merge 3 commits into
oguzhanbzglu wants to merge 3 commits into
Conversation
This was referenced May 15, 2026
Closed
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #297 +/- ##
==========================================
- Coverage 80.11% 78.93% -1.18%
==========================================
Files 7 7
Lines 538 546 +8
Branches 249 250 +1
==========================================
Hits 431 431
- Misses 39 47 +8
Partials 68 68
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
christophfroehlich
requested changes
May 17, 2026
| /** | ||
| * \brief Convert joint state to Cartesian pose using forward kinematics. | ||
| */ | ||
| virtual bool convert_joint_state_to_cartesian_pose( |
Member
There was a problem hiding this comment.
Isn't this the same as calculate_link_transform? I don't think that this is compatible with the current API if we don't pass the link_name.
Author
There was a problem hiding this comment.
Yes that is true thanks for pointing. I have removed it.
Author
The const changes cause a problem for ABI pipeline. I removed them. |
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.
Summary
Extends the
KinematicsInterfacebase class with optional IK/FK methods andconst-correctness in
calculate_frame_difference.Changes
kinematics_interface (base class):
return falseimplementations:convert_cartesian_pose_to_closest_joint_state— IK to closest solution given seed stateconvert_cartesian_pose_to_joint_state_within_range— IK within joint range constraintsconvert_cartesian_pose_to_possible_joint_states— IK returning all solutionsconvert_joint_state_to_cartesian_pose— FK returning Cartesian posecalculate_frame_difference: input parametersx_aandx_bare nowconstkinematics_interface_kdl and kinematics_interface_pinocchio (existing interfaces):
calculate_frame_differencesignature to match the corrected base classNote
return falseso existing plugins are not broken.constupdate and the virtual methods also can be separated from this MR if this seems necessary.See also other PRs: