Skip to content

Commit 92434e2

Browse files
authored
Merge branch 'main' into feature/distributed_log
2 parents 09ed4df + 2077cdf commit 92434e2

31 files changed

+2500
-19
lines changed

.github/workflows/embodied-e2e-tests.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,35 @@ jobs:
7878
rm -rf .venv
7979
uv cache prune
8080
81+
embodied-cnn-realworld-xsquare-turtle2-dummy-sac-test:
82+
runs-on: embodied
83+
steps:
84+
- name: Checkout code
85+
uses: actions/checkout@v5
86+
87+
- name: Create embodied environment
88+
run: |
89+
unset UV_DEFAULT_INDEX
90+
export UV_PATH=/workspace/dataset/.uv
91+
export UV_LINK_MODE=symlink
92+
export UV_CACHE_DIR=/workspace/dataset/.uv_cache
93+
export UV_PYTHON_INSTALL_DIR=/workspace/dataset/.uv_python
94+
export LIBERO_PATH=/workspace/dataset/LIBERO
95+
bash requirements/install.sh embodied --model openvla --env maniskill_libero
96+
97+
- name: Xsquare-turtle2 SAC dummy test
98+
timeout-minutes: 20
99+
run: |
100+
unset PYTHONPATH
101+
export REPO_PATH=$(pwd)
102+
source .venv/bin/activate
103+
bash tests/e2e_tests/embodied/run.sh realworld_xsquare_turtle2_dummy_sac_cnn
104+
105+
- name: Clean up
106+
run: |
107+
rm -rf .venv
108+
uv cache prune
109+
81110
embodied-mlp-frankasim-test:
82111
runs-on: embodied
83112
steps:

.github/workflows/install.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,14 @@ jobs:
9090
pip install uv
9191
bash requirements/install.sh embodied --model dexbotic --env maniskill_libero
9292
rm -rf .venv
93+
94+
- name: Install xsquare_turtle2
95+
run: |
96+
pip install uv
97+
uv cache prune --ci
98+
bash requirements/install.sh embodied --env xsquare_turtle2
99+
rm -rf .venv
100+
93101
94102
- name: Install behavior-openvla-oft
95103
run: |

docs/source-en/rst_source/examples/embodied/franka.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ Prerequisites
283283

284284
**Get the Target Pose for the Task**
285285

286-
To acquire the target pose for the peg-insertion task, you can use the `toolkits.realworld_check.test_controller` script.
286+
To acquire the target pose for the peg-insertion task, you can use the `toolkits.realworld_check.test_franka_controller` script.
287287

288288
First, you need to activate your Franka robot's programming mode, and manually move the robot to the desired target pose.
289289

@@ -297,7 +297,7 @@ Next, run the script:
297297

298298
.. code-block:: bash
299299
300-
python -m toolkits.realworld_check.test_controller
300+
python -m toolkits.realworld_check.test_franka_controller
301301
302302
The script will prompt you to input command, you can enter `getpos_euler` to get the current end-effector pose in Euler angles.
303303

@@ -419,11 +419,11 @@ First, test the camera connection by running on the controller node:
419419

420420
.. code-block:: bash
421421
422-
python -m toolkits.realworld_check.test_camera
422+
python -m toolkits.realworld_check.test_franka_camera
423423
424-
Next, test the basic cluster setup by running a dummy setup. Refer to ``examples/embodiment/config/real_world_dummy_sac_cnn.yaml`` and add `env.eval.override_cfg`.
424+
Next, test the basic cluster setup by running a dummy setup. Refer to ``examples/embodiment/config/realworld_dummy_franka_sac_cnn.yaml`` and add `env.eval.override_cfg`.
425425
You can set the `is_dummy` field to `True` in both `env.train.override_cfg` and `env.eval.override_cfg` sections in the configuration file to enable the dummy setup.
426-
And fill the camera serial numbers obtained from ``running toolkits.realworld_check.test_camera.py`` into the field `camera_serials` under both `env.train.override_cfg` and `env.eval.override_cfg`.
426+
And fill the camera serial numbers obtained from ``running toolkits.realworld_check.test_franka_camera.py`` into the field `camera_serials` under both `env.train.override_cfg` and `env.eval.override_cfg`.
427427

428428
Then, run the test script on the head node:
429429

docs/source-en/rst_source/examples/embodied/index.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,17 @@ as well as reinforcement learning training examples on real robots.
247247
Steer a frozen Pi0 diffusion policy with lightweight SAC in noise space
248248
</p>
249249
</div>
250+
251+
<div style="flex: 1 1 30%; max-width: 300px; text-align: center;">
252+
<img src="https://github.com/RLinf/misc/raw/main/pic/xsquare_turtle2_arm_small.jpg"
253+
style="width: 100%; height: 200px; object-fit: cover; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.15);" />
254+
<p style="margin-top: 8px; font-size: 14px; line-height: 1.4;">
255+
<a href="xsquare_turtle2.html" style="text-decoration: underline; color: blue;">
256+
<b>Real-World RL with XSquare Turtle2</b>
257+
</a><br>
258+
SAC + CNN policy on the XSquare Turtle2 dual-arm robot
259+
</p>
260+
</div>
250261
</div>
251262

252263

@@ -272,6 +283,7 @@ as well as reinforcement learning training examples on real robots.
272283
mlp
273284
dexbotic
274285
franka
286+
xsquare_turtle2
275287
sft_openpi
276288
sft_vlm
277289
co_training

0 commit comments

Comments
 (0)