Skip to content

Commit

Permalink
update mjgui docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhiram824 committed Jan 5, 2025
1 parent 9848140 commit efb14bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/simulation/device.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ SpaceMouse Device

MjGUI Device
------------
.. autoclass:: robosuite.devices.mjgui.MjGUI
.. autoclass:: robosuite.devices.mjgui.MJGUI

.. automethod:: get_controller_state
.. automethod:: input2action
Expand Down
2 changes: 1 addition & 1 deletion robosuite/devices/mjgui.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ def input2action(self) -> Dict[str, np.ndarray]:
(i.e. absolute actions or delta actions) and input_ref_frame (i.e. world frame, base frame or eef frame)
from the controller itself.
TODO: unify this logic to be independent from controller type.
"""
# TODO: unify this logic to be independent from controller type.
action: Dict[str, np.ndarray] = {}
gripper_dof = self.env.robots[0].gripper[self.active_end_effector].dof
site_names = self._get_site_names()
Expand Down

0 comments on commit efb14bf

Please sign in to comment.