mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-21 03:30:10 +00:00
Update utils.py
This commit is contained in:
@@ -61,6 +61,10 @@ def make_robot_from_config(config: RobotConfig) -> Robot:
|
|||||||
from .bi_so100_follower import BiSO100Follower
|
from .bi_so100_follower import BiSO100Follower
|
||||||
|
|
||||||
return BiSO100Follower(config)
|
return BiSO100Follower(config)
|
||||||
|
elif config.type == "reachy2":
|
||||||
|
from .reachy2 import Reachy2Robot
|
||||||
|
|
||||||
|
return Reachy2Robot(config)
|
||||||
elif config.type == "mock_robot":
|
elif config.type == "mock_robot":
|
||||||
from tests.mocks.mock_robot import MockRobot
|
from tests.mocks.mock_robot import MockRobot
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user