refactor(processors): use specialized processors where possible

This commit is contained in:
Steven Palma
2026-08-04 18:19:57 +02:00
parent f66e5128ec
commit fc573d46da
32 changed files with 681 additions and 500 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ from lerobot.processor import (
)
from lerobot.robots.so_follower import SO100Follower, SO100FollowerConfig
from lerobot.robots.so_follower.robot_kinematic_processor import (
ForwardKinematicsJointsToEE,
ForwardKinematicsJointsToEEObservation,
InverseKinematicsEEToJoints,
)
from lerobot.utils.constants import ACTION, OBS_STR
@@ -95,7 +95,7 @@ def main():
# Build pipeline to convert joints observation to EE observation
robot_joints_to_ee_pose_processor = RobotProcessorPipeline[RobotObservation, RobotObservation](
steps=[
ForwardKinematicsJointsToEE(
ForwardKinematicsJointsToEEObservation(
kinematics=kinematics_solver, motor_names=list(robot.bus.motors.keys())
)
],