From 5d092b1be28395a21c846d72bffe4ab8a36e0765 Mon Sep 17 00:00:00 2001 From: Remi Cadene Date: Wed, 10 Jul 2024 20:01:29 +0200 Subject: [PATCH] nit --- lerobot/common/robot_devices/motors/dynamixel.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lerobot/common/robot_devices/motors/dynamixel.py b/lerobot/common/robot_devices/motors/dynamixel.py index 6395ab67..cbf77f58 100644 --- a/lerobot/common/robot_devices/motors/dynamixel.py +++ b/lerobot/common/robot_devices/motors/dynamixel.py @@ -87,8 +87,6 @@ X_SERIES_CONTROL_TABLE = { CALIBRATION_REQUIRED = ["Goal_Position", "Present_Position"] CONVERT_UINT32_TO_INT32_REQUIRED = ["Goal_Position", "Present_Position"] -# CONVERT_POSITION_TO_ANGLE_REQUIRED = ["Goal_Position", "Present_Position"] -CONVERT_POSITION_TO_ANGLE_REQUIRED = [] MODEL_CONTROL_TABLE = { "x_series": X_SERIES_CONTROL_TABLE, @@ -421,7 +419,7 @@ class DynamixelMotorsBus: self.port_handler, self.packet_handler, addr, bytes ) - for idx, value in zip(motor_ids, values, strict=False): + for idx, value in zip(motor_ids, values, strict=True): if bytes == 1: data = [ DXL_LOBYTE(DXL_LOWORD(value)),