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
cleanup LMA kinematics solver #1318
Conversation
rhaschke
commented
Jan 23, 2019
- perform similar cleanup as in KDL IK solver cleanup #1294
- actually use KDL's LMA solver (was instantiated but not used)
- remove notion of mimic joints, as the LMA solver doesn't support this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great improvement! Looks good to me :)
...inematics/lma_kinematics_plugin/include/moveit/lma_kinematics_plugin/lma_kinematics_plugin.h
Outdated
Show resolved
Hide resolved
@mlautman Any reason you didn't yet merged this? |
There is so much removed code - how is it possible? You say that you "remove notion of mimic joints, as the LMA solver doesn't support this" but doesn't the custom version in the deleted files provide support for this?
Are you sure about this? @fsuarez6 can you review since the original PR was yours: moveit/moveit_ros#723 |
Not anymore. Looks like I confused variable names. Will need to fix this later. Closing this PR for now. |
Most of this code was just copied 1:1 from the KDL solver, but not actually used. That's why the cleanup.
No. The So, my original comment was slightly wrong, because the LMA solver was actually used before already. Although, I personally think that joint-limit rejection should be better handled in the |
Rebased to resolve conflicts. |
That's right. It was copied 1:1 from the KDL solver.
I cannot recall this. I think the default interval (-pi, pi) should work better. Related question: Do we have any tests for the kinematics plugins? |
Great. If you guys are OK with holding this PR for a short while, I'll add some tests along side to be sure that we aren't breaking anything here. |
Thanks for contributing more test. We will hold back this cleanup. |
You guys already have tests for this: https://github.com/ros-planning/moveit/blob/melodic-devel/moveit_kinematics/test/fanuc-kdl.test @davetcoleman, based on the tests and the removed code, this PR looks good to me. |
d6ffe7f
to
d26fc73
Compare
- perform similar cleanup as in moveit#1294 - actually use KDL's LMA solver (was instantiated but not used) - remove notion of mimic joints, as the LMA solver doesn't support this