Skip to content

Commit

Permalink
Merge branch 'demo-fixes' of https://github.com/ARISE-Initiative/robo…
Browse files Browse the repository at this point in the history
…suite-dev into demo-fixes
  • Loading branch information
Abhishek Joshi authored and Abhishek Joshi committed Nov 29, 2022
2 parents d50e224 + c173eef commit bd5a90c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
3 changes: 1 addition & 2 deletions robosuite/scripts/browse_mjcf_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
Loads MJCF XML models from file and renders it on screen.
Example:
$ python browse_arena_model.py --filepath ../models/assets/arenas/table_arena.xml
$ python browse_mjcf_model.py --filepath ../models/assets/arenas/table_arena.xml
"""

import argparse
import os

# from mujoco import MjSim, MjViewer, load_model_from_path
import mujoco

import robosuite as suite
Expand Down
6 changes: 2 additions & 4 deletions robosuite/scripts/collect_human_demonstrations.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
"""
A script to collect a batch of human demonstrations that can be used
to generate a learning curriculum (see `demo_learning_curriculum.py`).
A script to collect a batch of human demonstrations.
The demonstrations can be played back using the `playback_demonstrations_from_pkl.py`
script.
The demonstrations can be played back using the `playback_demonstrations_from_hdf5.py` script.
"""

import argparse
Expand Down
2 changes: 1 addition & 1 deletion robosuite/scripts/playback_demonstrations_from_hdf5.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
while True:
print("Playing back random episode... (press ESC to quit)")

# # select an episode randomly
# select an episode randomly
ep = random.choice(demos)

# read the model xml, using the metadata stored in the attribute for this episode
Expand Down

0 comments on commit bd5a90c

Please sign in to comment.