fix joint ids
Some checks failed
Python application / build (3.10) (push) Has been cancelled
Python application / build (3.8) (push) Has been cancelled
ROS 2 workspace / test-in-devcontainer (push) Has been cancelled

This commit is contained in:
Игорь Брылёв 2025-06-04 12:32:10 +03:00
parent f55181d0f7
commit d5f986bbdc

View file

@ -71,7 +71,7 @@ class GelloPublisher(Node):
self.gripper: bool = config[self.port]["gripper"]
"""Whether or not the gripper is attached."""
joint_ids = list(range(1, self.num_joints + 1))
joint_ids = list(range(1, self.num_joints))
self.driver = DynamixelDriver(joint_ids, port=self.com_port, baudrate=2000000)
"""The driver for the Dynamixel motors."""