Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inverse kinematics solution with additional custom joint constraints. #3114

Open
aizmailovs opened this issue Nov 18, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@aizmailovs
Copy link

Is your feature request related to a problem? Please describe.

When using setFromIK, I am receiving an inverse kinematics solution that respects joint limits and avoids collision with objects in the robot's workspace, which is good.
However, I cannot limit the solution space to additional custom-made joint constraints (moveit_msgs::msg::JointConstraint), at least I have not found the way to add them yet.

Describe the solution you'd like

I would be happy if I could pass additional parameter (array of custom joint constraints) to setFromIK that would further limit joint solution space, in addition to joint limits.

Describe alternatives you've considered

I considered looking for IK solution and then check whether it satisfies custom joint constraints manually. However, it is time costly.

When looking into setFromIK, I saw that there is a const GroupStateValidityCallbackFn& constraint parameter. Is it possible to use it to check the validity of the sampled state including additional joint constraints?

Additional context

No response

@aizmailovs aizmailovs added the enhancement New feature or request label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant