chore(utils): move encoding utils and process to their respective modules (#2029)

Signed-off-by: Steven Palma <imstevenpmwork@ieee.org>
This commit is contained in:
Steven Palma
2025-09-24 16:47:37 +02:00
committed by GitHub
parent af1760f175
commit ec63225dc1
10 changed files with 8 additions and 8 deletions

View File

@@ -24,7 +24,7 @@ import pytest
from lerobot.motors import Motor, MotorCalibration, MotorNormMode
from lerobot.motors.dynamixel import MODEL_NUMBER_TABLE, DynamixelMotorsBus
from lerobot.motors.dynamixel.tables import X_SERIES_CONTROL_TABLE
from lerobot.utils.encoding_utils import encode_twos_complement
from lerobot.motors.encoding_utils import encode_twos_complement
try:
import dynamixel_sdk as dxl

View File

@@ -22,9 +22,9 @@ from unittest.mock import MagicMock, patch
import pytest
from lerobot.motors import Motor, MotorCalibration, MotorNormMode
from lerobot.motors.encoding_utils import encode_sign_magnitude
from lerobot.motors.feetech import MODEL_NUMBER, MODEL_NUMBER_TABLE, FeetechMotorsBus
from lerobot.motors.feetech.tables import STS_SMS_SERIES_CONTROL_TABLE
from lerobot.utils.encoding_utils import encode_sign_magnitude
try:
import scservo_sdk as scs

View File

@@ -16,7 +16,7 @@
import pytest
from lerobot.utils.encoding_utils import (
from lerobot.motors.encoding_utils import (
decode_sign_magnitude,
decode_twos_complement,
encode_sign_magnitude,

View File

@@ -22,7 +22,7 @@ from unittest.mock import patch
import pytest
from lerobot.utils.process import ProcessSignalHandler
from lerobot.rl.process import ProcessSignalHandler
# Fixture to reset shutdown_event_counter and original signal handlers before and after each test