Skip to content

Commit

Permalink
refine doc
Browse files Browse the repository at this point in the history
  • Loading branch information
DrawZeroPoint committed Apr 21, 2024
1 parent 566ed69 commit 358162f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/rotools/simulation/mujoco/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ def __init__(
"""Initialize the MuJoCoInterface.
Args:
model_path: str Path to the XML file containing the whole model of the robot.
kinematics_path: str [Optional] Path to the XML file containing the kinematic tree of the robot.
actuator_path: str [Optional] Path to the XML file containing the actuator and sensor of the robot.
enable_viewer: bool If true, the MuJoCo Viewer will be displayed.
verbose: bool If true, detailed information will be shown.
model_path (str): Path to the XML file containing the whole model of the robot.
kinematics_path (str): [Optional] Path to the XML file containing the kinematic tree of the robot.
actuator_path (str): [Optional] Path to the XML file containing the actuator and sensor of the robot.
enable_viewer (bool): If true, the MuJoCo Viewer will be displayed.
verbose (bool): If true, detailed information will be shown.
**kwargs: DO NOT REMOVE!
"""
super(MuJoCoInterface, self).__init__()
Expand Down Expand Up @@ -567,9 +567,9 @@ def get_site_pose(self, site_name, ref_name=""):
"""Get the relative pose of a site with regard to the reference frame.
Args:
site_name: str Name of the site.
ref_name: str Name of the reference body. If it is empty or None,
the base body of the robot will be used.
site_name (str): Name of the site.
ref_name (str): Name of the reference body. If it is empty or None,
the base body of the robot will be used.
Returns:
Pose/None
Expand Down

0 comments on commit 358162f

Please sign in to comment.