-
Notifications
You must be signed in to change notification settings - Fork 37
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
Reduced tracking performance when calling IK solver alone #417
Comments
On another note, mc_rtc's solver only provides an acceleration-based IK interface, whereas planners often use velocity-based IK due to its faster convergence, etc., and I wonder if mc_rtc's solver might not necessarily be suitable for use in a planner. Any thoughts on this would also be appreciated. |
Hi @mmurooka Regarding the first issue, I have produced a similar example using mc_rtc for the visualization and I get what you would expect: ik-output-2023-12-18_16.29.52.mp4The code for my example is here. In your example, I think the issue lies here Instead of
That's a good question, I think it should be relatively easy to build a velocity-based solver using TVM + mc_tvm and benchmark it against the acceleration-based solver (and other velocity-based solvers if you have some suggestions) for IK purposes. |
Thank you @gergondet The following change you suggested solved the problem: mmurooka/tmp_sources@e1688e6 At least in my sample (with JVRC1),
That's great! I don't have any plans to implement a planner with mc_rtc's IK solver at this time, so the benchmark is not urgent, but it must be useful in the future. |
Hoping to use a consistent IK solver between planner and controller, I implemented a sample program that uses the mc_rtc solver by itself and tried it out: https://github.com/mmurooka/tmp_sources/tree/master/mc_rtc_ik
However, I specified tasks for the transformation of the limbs, and the generated motion does not fully satisfy these tasks as shown in the movie below. I expect both feet to be fixed at the specified poses on the xy-plane and the right hand to follow a circule trajectory.
Is there anything in the sample code that should be modified to address this?
simplescreenrecorder-2023-12-15_22.51.47.mp4
The text was updated successfully, but these errors were encountered: