Skip to content

Commit 565b2b7

Browse files
committed
Revert "Add ability to restrict IK to certain dofs. (#53)"
This reverts commit c2a1f49.
1 parent f29a567 commit 565b2b7

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

mink/configuration.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,6 @@ def __init__(
5050
self.data = mujoco.MjData(model)
5151
self.update(q=q)
5252

53-
if joint_names is None:
54-
self.dof_ids = np.arange(model.nv)
55-
else:
56-
self.dof_ids = np.asarray(get_dof_ids(model, joint_names))
57-
print(self.dof_ids)
58-
5953
def update(self, q: Optional[np.ndarray] = None) -> None:
6054
"""Run forward kinematics.
6155

0 commit comments

Comments
 (0)