Skip to content

Commit

Permalink
revert to default koch
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadene committed Oct 25, 2024
1 parent e60da8b commit 10c8c8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lerobot/common/robot_devices/robots/manipulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class ManipulatorRobotConfig:
"""

# Define all components of the robot
robot_type: str | None = None
robot_type: str = "koch"
leader_arms: dict[str, MotorsBus] = field(default_factory=lambda: {})
follower_arms: dict[str, MotorsBus] = field(default_factory=lambda: {})
cameras: dict[str, Camera] = field(default_factory=lambda: {})
Expand Down Expand Up @@ -81,7 +81,7 @@ def __setattr__(self, prop: str, val):
super().__setattr__(prop, val)

def __post_init__(self):
if self.robot_type is None or self.robot_type not in ["koch", "aloha", "so100", "moss"]:
if self.robot_type not in ["koch", "aloha", "so100", "moss"]:
raise ValueError(f"Provided robot type ({self.robot_type}) is not supported.")


Expand Down

0 comments on commit 10c8c8a

Please sign in to comment.