From Sensor to Motor: The Data Path of an LLM Controlling a Robot Arm
October 14, 2026
RoboCurve · Inspect Robots · SO-101
Three flow diagrams answer three questions: from which sensor each piece of data the LLM receives comes, and what processing it goes through; how the LLM combines its history to make a decision by the 11th decision turn; and, for an SO-101, what each servo reads and writes. The first two diagrams follow RoboCurve’s RoboDojo-RC Tier 1 configuration on the I2RT YAM dual arms (end-effector pose control, 10 Hz).
Sensor / hardware interface
Capture, drivers, kinematics
Inspect Robots plugin code
LLM decision
Actuator motors
Configuration / task text
Hypothetical extension (not in RoboCurve)
Version 1: What the LLM Receives, and Who It Hands the Decision To
On the left, five inputs (3 cameras, 14 joint encoders, and the task configuration) each go through capture and encoding, and are combined at message assembly into one API request. The LLM outputs just one tool call; the 7 stages on the right break that single target into at most 100 control steps at 10 Hz and distribute them to 14 motors.
Depth is not computed from ordinary images: the two wrist D405 cameras are stereo cameras, and the depth is computed on the camera chip. The plugin only draws it as a grayscale image and attaches one line of distance text. The LLM gets no point cloud and does not need camera extrinsics, because move_to uses each arm’s own base coordinate frame.
The diagram is wide; on a narrow screen you can scroll it sideways.
Version 2: Turn 11, What the LLM Can See When It Decides
Here a “step” means one LLM decision turn, and each turn executes up to 100 control steps. Solid lines are mechanisms that actually exist in the RoboCurve code. Dashed lines are the requested “predict the next 20 steps” and “compare the past 10 steps with 5 steps of the previous cycle”; RoboCurve does not implement them, and the diagram shows where they would attach if added.
In the actual system, the LLM sees images only from the last two observations, but it sees the text of all 10 turns (its own notes, tool results, and guardrail records). The previous trial affects this one only through the hindsight experience file, and no specific steps are kept. Each turn outputs only one end point, which the tool interpolates linearly; there is no multi-step prediction and no “prediction vs actual” comparison.
Version 3: SO-101, What Each Servo Reads and Writes
The SO-101 has no separate joint sensors: the 6 Feetech STS3215 servos are at once the motors and the position, current, voltage, and temperature sensors. The host addresses them one by one by ID on a single bus, through a board that converts USB to half-duplex serial.
The position loop closes inside the servo: the host writes only the target position (Goal_Position), and the servo tracks it with its own PID. LeRobot reads back only the position each cycle; registers for current, load, and temperature exist but are not read by default.
ID
Joint
Motion
Follower gear ratio
Leader gear ratio
URDF range (rad)
LeRobot reading
1
shoulder_pan
Base rotation
1/345
1/191
±1.92
Degrees
2
shoulder_lift
Shoulder lift
1/345
1/345
±1.75
Degrees
3
elbow_flex
Elbow bend
1/345
1/191
±1.69
Degrees
4
wrist_flex
Wrist pitch
1/345
1/147
±1.66
Degrees
5
wrist_roll
Wrist rotation
1/345
1/147
−2.74 … 2.84
Degrees
6
gripper
Gripper open/close
1/345
1/147
−0.17 … 1.75
0–100
Sources
github.com/robocurve/inspect-robots (agent plugin _tools.py, _depth.py, _png.py, policy.py), inspect-robots-yam, inspect-robots-so101, huggingface/lerobot (so_follower, motors/feetech), TheRobotStudio/SO-ARM100, and the robocurve.org Tier 1 and RoboHarm pages. The material was read on 2026-10-14; file line numbers change between versions.