Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Zhang committed Sep 11, 2024
1 parent 1b0982b commit 768a828
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stac_mjx/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ def __init__(self, xml_path: str, cfg: DictConfig, kp_names: List[str]):
"newton": mujoco.mjtSolver.mjSOL_NEWTON,
}[cfg.stac.mujoco.solver.lower()]

self._mj_model.opt.iterations = cfg.stac_cfg.mujoco.iterations
self._mj_model.opt.ls_iterations = cfg.stac_cfg.mujoco.ls_iterations
self._mj_model.opt.iterations = cfg.stac.mujoco.iterations
self._mj_model.opt.ls_iterations = cfg.stac.mujoco.ls_iterations

# Runs faster on GPU with this
self._mj_model.opt.jacobian = 0 # dense
Expand Down

0 comments on commit 768a828

Please sign in to comment.