-
-
Notifications
You must be signed in to change notification settings - Fork 61
Update task and IK solver to support reduced configuration; add tests… #88
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
base: main
Are you sure you want to change the base?
Conversation
… for reduced configuration functionality.
Hi @wayne-xyz, first of all, thank you for your PR :) I'd like to first ask you if you've tried creating a reduced model and instantiating the configuration object on that reduced model, then using qpos indices to correctly take the output of |
Chiming in here, but I also believe something related was discussed in #73 - I personally tried approach 1 in Kevin's comment ( |
Hi @kevinzakka , Thank you so much for your quick reply and the valuable suggestion! I really appreciate you taking the time. This is a great repository, and it's been incredibly helpful and flexible for my use case and studies. Regarding your suggestion to create a reduced model with MjSpec for the IK configuration: that's indeed a clean and generally preferred approach. My current project, however, is based on bigym and gymnasium. These frameworks have a fairly tight coupling between their environment and In my specific scenario, the simulation involves several entities, but the IK solution only needs to focus on one or two of them. The approach in my PR aims to support this by allowing the IK solver to operate on a configuration with a reduced I agree that keeping mink focused and specific to its domain is important. If this feature doesn't align well, I completely understand. Looking ahead, I am strongly considering refactoring my project to reduce the dependency on bigym precisely to overcome these limitations and better leverage modern MuJoCo features like MjSpec for more flexible model manipulation. Thanks again for your feedback and for maintaining mink! |
Thanks for bringing up the DampingTask method from #73! Immobilizing joints with high damping is an interesting way to focus IK, and it's good to hear it worked for you. |
I would give a vote for what @kevinzakka suggested, given its focused functionality, basically we can run For instance, it's also done in a MJX batched ik counterpart of mink: |
Description
Added support for reduced configuration in the robot control system. This allows working with a subset of joints while maintaining compatibility with the existing task and IK systems.
Changes
Testing
pytest .
Related Issues
Link of issue
Checklist