Remove motors from Koch config
This commit is contained in:
@@ -16,15 +16,5 @@ class KochRobotConfig(RobotConfig):
|
|||||||
# the number of motors in your follower arms.
|
# the number of motors in your follower arms.
|
||||||
max_relative_target: int | None = None
|
max_relative_target: int | None = None
|
||||||
|
|
||||||
mock: bool = False
|
|
||||||
|
|
||||||
# motors
|
|
||||||
shoulder_pan: tuple = (1, "xl430-w250")
|
|
||||||
shoulder_lift: tuple = (2, "xl430-w250")
|
|
||||||
elbow_flex: tuple = (3, "xl330-m288")
|
|
||||||
wrist_flex: tuple = (4, "xl330-m288")
|
|
||||||
wrist_roll: tuple = (5, "xl330-m288")
|
|
||||||
gripper: tuple = (6, "xl330-m288")
|
|
||||||
|
|
||||||
# cameras
|
# cameras
|
||||||
cameras: dict[str, CameraConfig] = field(default_factory=dict)
|
cameras: dict[str, CameraConfig] = field(default_factory=dict)
|
||||||
|
|||||||
@@ -54,12 +54,12 @@ class KochRobot(Robot):
|
|||||||
self.arm = DynamixelMotorsBus(
|
self.arm = DynamixelMotorsBus(
|
||||||
port=self.config.port,
|
port=self.config.port,
|
||||||
motors={
|
motors={
|
||||||
"shoulder_pan": config.shoulder_pan,
|
"shoulder_pan": (1, "xl430-w250"),
|
||||||
"shoulder_lift": config.shoulder_lift,
|
"shoulder_lift": (2, "xl430-w250"),
|
||||||
"elbow_flex": config.elbow_flex,
|
"elbow_flex": (3, "xl330-m288"),
|
||||||
"wrist_flex": config.wrist_flex,
|
"wrist_flex": (4, "xl330-m288"),
|
||||||
"wrist_roll": config.wrist_roll,
|
"wrist_roll": (5, "xl330-m288"),
|
||||||
"gripper": config.gripper,
|
"gripper": (6, "xl330-m288"),
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
self.cameras = make_cameras_from_configs(config.cameras)
|
self.cameras = make_cameras_from_configs(config.cameras)
|
||||||
|
|||||||
Reference in New Issue
Block a user