Skip to content

expose ik_link_name argument to compute_ik()#105

Merged
AndrejOrsula merged 1 commit intoAndrejOrsula:mainfrom
Zarnack:master
Aug 16, 2025
Merged

expose ik_link_name argument to compute_ik()#105
AndrejOrsula merged 1 commit intoAndrejOrsula:mainfrom
Zarnack:master

Conversation

@Zarnack
Copy link
Contributor

@Zarnack Zarnack commented Jul 4, 2025

Problem:
Currently, it is not possible to specify the link name on which the inverse kinematics calculation should be based. The default is always the last link of the planning group defined by the group_name parameter.

Solution:
This PR adds the ability to set the ik_link_name parameter when calling compute_ik(...) or compute_ik_async(...). This allows calculating IK for poses relative to different frames by exposing the self.__compute_ik_req.ik_request.ik_link_name variable, which was not configurable before.

specifying the link to use for inverse kinematics
@Zarnack Zarnack changed the title exposed ik_link_name argument to compute_ik() expose ik_link_name argument to compute_ik() Jul 10, 2025
Copy link
Owner

@AndrejOrsula AndrejOrsula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Zarnack,

Thank you very much for this contribution! It looks good, and backwards compatibility is preserved.

@AndrejOrsula AndrejOrsula merged commit bbf125a into AndrejOrsula:main Aug 16, 2025
2 of 5 checks passed
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