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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

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

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.

1 participant