-
Notifications
You must be signed in to change notification settings - Fork 89
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
Added IKFast factory boilerplate #916
Conversation
Just so this code gets tested could we updated the ikfast test plugins to utilize this? |
Yes, that's a good idea. And the docs could then be simplified a lot (also, there's a number of errors/typos in the IKFast solver/plugin section, but those would be gone then). |
BTW, I also had the idea to enhance the IKFast plugin boilerplate to use a discretization 'resolution' parameter for each free joint (making use of the joint limits from the URDF) instead of the list of exact joint values that is required currently. Because if you have for example a free joint with a 210 degree range and want to sample it in one degree steps, it requires a long and impractical list of values (I tested this). |
Sounds good to me. |
Would you mind to already merge, and I'll add the free joint enhancements later? |
Waiting on the joint enhancement is good, but I would like to update the unit tests to leverage this so this code is unit tested before merging. |
I updated the unit tests. |
tesseract_kinematics/core/include/tesseract_kinematics/core/kinematic_group.h
Outdated
Show resolved
Hide resolved
It looks like clang-tidy is not happy |
tesseract_kinematics/ikfast/include/tesseract_kinematics/ikfast/ikfast_factory_boilerplate.h
Outdated
Show resolved
Hide resolved
Co-authored-by: Tyler Marr <[email protected]>
Now all that's left are clang-tidy issues in the solvers and external/ikfast.h. Shouldn't these have been suppressed by TESSERACT_COMMON_IGNORE_WARNINGS_PUSH? |
I just pushed a commit which should fix the clang-tidy issue which was tested locally. |
Great, thanks! |
This adds IKFast boilerplate code as suggested by @marip8.