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

[Feature] Allows to turn on/off batch (links/dofs) info #238

Merged
merged 8 commits into from
Dec 27, 2024

Conversation

zswang666
Copy link
Collaborator

In the rigid solver option, there are batch_links_info and batch_dofs_info. If either is set to True, in the rigid solver, we introduce additional batch dimension (like in links_state or dofs_state). If they are both set to False, the built kernels in the solver should resemble those from the original code -- w/o the batch dimension.

An example is added in examples/rigid/set_phys_attr.py, which demonstrates how to set kp, kv, force range, armature, stiffness, invweight, damping for dofs and inertial mass, and invweight for links.

Related issues: #70, #120

@btx0424
Copy link

btx0424 commented Dec 27, 2024

This feature is commonly needed! Wonder what's the progress?

@zswang666 zswang666 merged commit c7200f5 into Genesis-Embodied-AI:main Dec 27, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants