Skip to content

Commit 6288439

Browse files
committed
Add damiao motors and open arm robot
1 parent 1cf768e commit 6288439

File tree

14 files changed

+2176
-379
lines changed

14 files changed

+2176
-379
lines changed

docs/source/openarms.mdx

Lines changed: 541 additions & 0 deletions
Large diffs are not rendered by default.

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,10 @@ grpcio-dep = ["grpcio==1.73.1", "protobuf==6.31.0"] # TODO: Bumb dependency (com
102102
# Motors
103103
feetech = ["feetech-servo-sdk>=1.0.0,<2.0.0"]
104104
dynamixel = ["dynamixel-sdk>=3.7.31,<3.9.0"]
105+
damiao = ["python-can>=4.2.0,<5.0.0"]
105106

106107
# Robots
108+
openarms = ["lerobot[damiao]"]
107109
gamepad = ["lerobot[pygame-dep]", "hidapi>=0.14.0,<0.15.0"]
108110
hopejr = ["lerobot[feetech]", "lerobot[pygame-dep]"]
109111
lekiwi = ["lerobot[feetech]", "pyzmq>=26.2.1,<28.0.0"]
@@ -148,6 +150,7 @@ metaworld = ["metaworld==3.0.0"]
148150
# All
149151
all = [
150152
"lerobot[dynamixel]",
153+
"lerobot[openarms]",
151154
"lerobot[gamepad]",
152155
"lerobot[hopejr]",
153156
"lerobot[lekiwi]",

src/lerobot/motors/__init__.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,11 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
from .motors_bus import Motor, MotorCalibration, MotorNormMode, MotorsBus
17+
from .motors_bus import (
18+
Motor,
19+
MotorCalibration,
20+
MotorNormMode,
21+
MotorsBus, # Backward compatibility (alias for SerialMotorsBus)
22+
MotorsBusBase,
23+
SerialMotorsBus,
24+
)

0 commit comments

Comments
 (0)