fix(deps): use in-house rotation utils over scipy throughout the codebase

This commit is contained in:
Steven Palma
2025-09-04 16:44:18 +02:00
parent a988da4789
commit e698c709d8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -23,9 +23,9 @@ from typing import Any
import numpy as np import numpy as np
import torch import torch
from scipy.spatial.transform import Rotation
from lerobot.constants import ACTION, DONE, OBS_IMAGES, OBS_STATE, REWARD, TRUNCATED from lerobot.constants import ACTION, DONE, OBS_IMAGES, OBS_STATE, REWARD, TRUNCATED
from lerobot.utils.rotation import Rotation
from .core import EnvTransition, TransitionKey from .core import EnvTransition, TransitionKey
@@ -24,12 +24,12 @@ import time
import hebi import hebi
import numpy as np import numpy as np
from scipy.spatial.transform import Rotation
from teleop import Teleop from teleop import Teleop
from lerobot.errors import DeviceAlreadyConnectedError, DeviceNotConnectedError from lerobot.errors import DeviceAlreadyConnectedError, DeviceNotConnectedError
from lerobot.teleoperators.phone.config_phone import PhoneConfig, PhoneOS from lerobot.teleoperators.phone.config_phone import PhoneConfig, PhoneOS
from lerobot.teleoperators.teleoperator import Teleoperator from lerobot.teleoperators.teleoperator import Teleoperator
from lerobot.utils.rotation import Rotation
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)