Commit 6ea68c26 authored by fanmingluo's avatar fanmingluo

modify the readme

parent f9555fd6
......@@ -23,6 +23,22 @@ cd ~/.mujoco/mujoco200/bin
./simulator ../model/humanoid.xml
```
### Edit the CMakeLists.txt
### Modify the CMakeLists.txt
The 5th lines should be modified according to your mujoco installation path. Change the `MUJOCO_PAHT` variable to the mujoco library path in your PC.
### Dependencies install
```bash
sudo apt-get install cmake
```
### Compile and enjoy
```bash
cd laikago/laikago_simulator
mkdir build
cd build
cmake .. && make -j
./laikago_test
```
### Rewards
In [Laikago.h](./mujoco/Laikago.h), as the function GetReward shows, reward consists of four part. `alive bonus`, `velocity cost`, `control cost`, `impact cost`. You can change it feasibly as you want.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment