Skip to content

Commit 028157a

Browse files
michel-aractingiCarolinePascalAdilZouitineleo-berte
authored
Refactor kinematics and switch to using placo (huggingface#1322)
Co-authored-by: Caroline Pascal <[email protected]> Co-authored-by: Adil Zouitine <[email protected]> Co-authored-by: leo-berte <[email protected]>
1 parent 5997307 commit 028157a

File tree

10 files changed

+169
-510
lines changed

10 files changed

+169
-510
lines changed

docs/source/hilserl.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ This guide provides step-by-step instructions for training a robot policy using
2424
- A gamepad (recommended) or keyboard to control the robot
2525
- A Nvidia GPU
2626
- A real robot with a follower and leader arm (optional if you use the keyboard or the gamepad)
27+
- A URDF file for the robot for the kinematics package (check `lerobot/common/model/kinematics.py`)
2728

2829
## What kind of tasks can I train?
2930

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ dependencies = [
6868
"pyserial>=3.5",
6969
"pyzmq>=26.2.1",
7070
"rerun-sdk>=0.21.0",
71-
"scipy>=1.14.0",
7271
"termcolor>=2.4.0",
7372
"torch>=2.2.1",
7473
"torchcodec>=0.2.1; sys_platform != 'win32' and (sys_platform != 'linux' or (platform_machine != 'aarch64' and platform_machine != 'arm64' and platform_machine != 'armv7l')) and (sys_platform != 'darwin' or platform_machine != 'x86_64')",
@@ -87,6 +86,7 @@ dora = [
8786
dynamixel = ["dynamixel-sdk>=3.7.31"]
8887
feetech = ["feetech-servo-sdk>=1.0.0"]
8988
gamepad = ["pygame>=2.5.1", "hidapi>=0.14.0"]
89+
kinematics = ["placo>=0.9.6"]
9090
intelrealsense = [
9191
"pyrealsense2>=2.55.1.6486 ; sys_platform != 'darwin'",
9292
"pyrealsense2-macosx>=2.54 ; sys_platform == 'darwin'",
@@ -100,7 +100,7 @@ stretch = [
100100
"pyrealsense2>=2.55.1.6486 ; sys_platform != 'darwin'"
101101
]
102102
test = ["pytest>=8.1.0", "pytest-timeout>=2.4.0", "pytest-cov>=5.0.0", "pyserial>=3.5", "mock-serial>=0.0.1 ; sys_platform != 'win32'"]
103-
hilserl = ["transformers>=4.50.3", "gym-hil>=0.1.8", "protobuf>=5.29.3", "grpcio==1.71.0"]
103+
hilserl = ["transformers>=4.50.3", "gym-hil>=0.1.9", "protobuf>=5.29.3", "grpcio==1.71.0", "placo>=0.9.6"]
104104
umi = ["imagecodecs>=2024.1.1"]
105105
video_benchmark = ["scikit-image>=0.23.2", "pandas>=2.2.2"]
106106
xarm = ["gym-xarm>=0.1.1 ; python_version < '4.0'"]

0 commit comments

Comments
 (0)