mirror of
https://github.com/huggingface/lerobot.git
synced 2026-06-04 21:01:26 +00:00
Co-authored-by: Pepijn <pepijn@huggingface.co> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
21 lines
662 B
Python
21 lines
662 B
Python
from dataclasses import dataclass, field
|
|
|
|
from lerobot.common.cameras import CameraConfig
|
|
|
|
from ..config import RobotConfig
|
|
|
|
|
|
@RobotConfig.register_subclass("so100")
|
|
@dataclass
|
|
class SO100RobotConfig(RobotConfig):
|
|
# Port to connect to the robot
|
|
port: str
|
|
|
|
# `max_relative_target` limits the magnitude of the relative positional target vector for safety purposes.
|
|
# Set this to a positive scalar to have the same value for all motors, or a list that is the same length as
|
|
# the number of motors in your follower arms.
|
|
max_relative_target: int | None = None
|
|
|
|
# cameras
|
|
cameras: dict[str, CameraConfig] = field(default_factory=dict)
|