Skip to content

Commit

Permalink
Major code restructuring for cleaner package (#4)
Browse files Browse the repository at this point in the history
* Changed everything to mirage based

* Updated docs

* Another refactor lmao

* Updated README
  • Loading branch information
KDharmarajanDev authored Feb 27, 2024
1 parent 727f68d commit 89887e3
Show file tree
Hide file tree
Showing 416 changed files with 441,413 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ conda create --name mirage python=3.8

Install the mirage Python package.
```
cd xembody
cd mirage
pip install -e .
```

Expand All @@ -39,7 +39,7 @@ Follow the installation instructions for the given simulator by going into the f
## Usage
For robosuite, to run an experiment,
```
cd xembody/xembody_robosuite/benchmark
cd mirage/benchmark/robosuite
python3 run_robosuite_benchmark.py --config_file config/example_config.yaml
```
Please take a look at the example_config and the different parameters that can be set to run different tasks, agents, and robots. For the above code to work, you must change the agents to the path for the model checkpoints in robosuite.
Expand Down
20 changes: 20 additions & 0 deletions mirage/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
mirage.egg-info
meshes
obj_meshes

# imgs and point clouds
*.jpg
*.pcd
*.png

# no datasets
*.hdf5

# no ROS Workspace build / install /log
mirage/src/ros_ws/build
mirage/src/ros_ws/install
mirage/src/ros_ws/log

# no models
*.pt
*.pth
Empty file added mirage/__init__.py
Empty file.
20 changes: 20 additions & 0 deletions mirage/docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = source
BUILDDIR = build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added mirage/docs/build/doctrees/environment.pickle
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added mirage/docs/build/doctrees/index.doctree
Binary file not shown.
4 changes: 4 additions & 0 deletions mirage/docs/build/html/.buildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 6b94b17b1055196dbdf770cdf563fcc7
tags: 645f666f9bcd5a90fca523b33c5a78b7
Loading

0 comments on commit 89887e3

Please sign in to comment.