You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-10Lines changed: 27 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,36 @@
1
1
# For Heterogeneous Agent Reinforcement Learning
2
2
3
-
Use these instructions to install isaac sim -> [here](https://docs.omniverse.nvidia.com/isaacsim/latest/installation/install_python.html#install-isaac-sim-using-pip)
*Before and after results of multi-agent reinforcement learning for bar balancing task* -->
11
+
12
+
---
13
+
Use [these instructions](https://docs.omniverse.nvidia.com/isaacsim/latest/installation/install_python.html#install-isaac-sim-using-pip) to install isaac sim.
14
+
15
+
Make sure to run all the following commands with your isaaclab conda environment activated, as highlighted in the instructions provided above.
4
16
5
-
Make sure to run all the following commands with your isaaclab conda environment activated, as highlighted in the instruction provided above.
6
17
7
18
```bash
8
19
cd IsaacLab
9
20
./isaaclab.sh -i
10
21
pip install gymnasium==0.29.0
11
22
```
23
+
Note that we modified the `isaaclab.sh` install script to point to our fork of the [HARL repository](https://github.com/some45bucks/HARL.git), which the script will automatically install into your conda environment. If you want to make changes to the HARL code yourself, with your conda environment activated run the following
If you are just interested in running the environment and seeing how the environment resets, training works etc. You can use the `play.py` script instead.
28
48
49
+
If you want to use the soccer or piano environments, unzip the assets.zip folder into the Isaaclab directory.
50
+
51
+
29
52
# Training custom environment
30
53
31
54
@@ -45,13 +68,7 @@ Isaac Lab allows you to register custom environments in the Gym framework, enabl
45
68
46
69
## Environment Registration Example
47
70
48
-
The environment `DirectEnvRL` is used as the base for the multi agent anymal c bar carrying environment, and it is registered in the Gym environments through the `__init__.py` file. To better understand the process, you can explore the following example folder:
This folder contains the environment code and the necessary registration logic. To register your custom environment, follow these steps:
71
+
The best way to understand how to set up your own custom environment is by looking at the environment set up at `IsaacLab/source/extensions/omni.isaac.lab_tasks/omni/isaac/lab_tasks/direct/anymal_c_multi_agent`, which is the bar balancing environment. A simple way to get started is to make a copy of this folder and begin modifying the environment to your specified needs. This folder contains the environment code and the necessary registration logic. To register your custom environment, follow these steps:
0 commit comments