Skip to content

Commit

Permalink
move assets
Browse files Browse the repository at this point in the history
  • Loading branch information
qgallouedec committed May 21, 2024
1 parent d8f81d8 commit a67737a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/mujoco_ctrl_range.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

if __name__ == "__main__":
# Load the model from the XML file
model = mujoco.MjModel.from_xml_path("assets/scene_one_cube.xml")
model = mujoco.MjModel.from_xml_path("gym_lowcostrobot/assets/scene_one_cube.xml")

# Extract control range for each actuator
control_ranges = model.actuator_ctrlrange
Expand Down
2 changes: 1 addition & 1 deletion examples/mujoco_interactive_simulation.py.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


def do_interactive_sim():
m = mujoco.MjModel.from_xml_path("assets/scene_one_cube.xml")
m = mujoco.MjModel.from_xml_path("gym_lowcostrobot/assets/scene_one_cube.xml")
data = mujoco.MjData(m)

with mujoco.viewer.launch_passive(m, data) as viewer:
Expand Down
2 changes: 1 addition & 1 deletion examples/mujoco_simple_invk.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


def do_simple_invk():
m = mujoco.MjModel.from_xml_path("assets/scene_one_cube.xml")
m = mujoco.MjModel.from_xml_path("gym_lowcostrobot/assets/scene_one_cube.xml")
data = mujoco.MjData(m)
robot = SimulatedRobot(m, data)

Expand Down
2 changes: 1 addition & 1 deletion examples/trace_hdf5_mujoco.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
def do_replay_hdf5(args):
# Specify the path to your HDF5 file
with h5py.File(args.file_path, "r") as file:
m = mujoco.MjModel.from_xml_path("assets/scene_one_cube.xml")
m = mujoco.MjModel.from_xml_path("gym_lowcostrobot/assets/scene_one_cube.xml")
data = mujoco.MjData(m)
robot = SimulatedRobot(m, data)

Expand Down

0 comments on commit a67737a

Please sign in to comment.