Skip to content

Commit 64aad7c

Browse files
bump to RLtools main
1 parent 7818ab8 commit 64aad7c

4 files changed

Lines changed: 7 additions & 9 deletions

File tree

README.MD

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ This example implements a full pendulum environment (including a visualization)
55
git clone https://github.com/rl-tools/example
66
cd example
77
git submodule update --init external/rl_tools
8-
mkdir build
9-
cd build
10-
cmake .. -DCMAKE_BUILD_TYPE=Release
11-
cmake --build .
12-
./my_pendulum
8+
cmake . -B build -DCMAKE_BUILD_TYPE=Release
9+
cmake --build build --target my_pendulum
10+
./build/my_pendulum
11+
./external/rl_tools/tools/serve.sh
1312
```
13+
Navigate to [http://localhost:8080](http://localhost:8080) to see the visualization.
1414

1515

1616

external/rl_tools

Submodule rl_tools updated 202 files

serve.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ using LOOP_STATE = typename LOOP_CONFIG::template State<LOOP_CONFIG>;
7676

7777
int main(){
7878
DEVICE device;
79+
rlt::init(device);
7980
TI seed = 0;
8081
LOOP_STATE ls;
8182
#ifndef BENCHMARK

0 commit comments

Comments
 (0)