Skip to content

Add lock_joints spec wrapper#1057

Open
louislelay wants to merge 1 commit into
mainfrom
lll/feat/add-lock-joints
Open

Add lock_joints spec wrapper#1057
louislelay wants to merge 1 commit into
mainfrom
lll/feat/add-lock-joints

Conversation

@louislelay

Copy link
Copy Markdown
Collaborator

Adds a higher-order function that wraps a spec_fn to delete specified joints before compilation, permanently welding them in place. This is useful for freezing degrees of freedom you don't want in the action space (e.g. disabling an actuated head). Raises if a requested joint name doesn't exist in the spec.

A higher-order function that wraps a spec factory to delete specified joints before compilation, permanently welding them in place and removing them from the action space.

Co-authored-by: Cursor <cursoragent@cursor.com>
@louislelay louislelay requested a review from kevinzakka June 13, 2026 21:19
@kevinzakka

Copy link
Copy Markdown
Collaborator

@louislelay There are a few bugs in this PR + we need to discuss the implementation a bit more.

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