Robot Arm Development: From Kinematics to Vision-Language Planning
Building an autonomous robot arm that can interpret a task command and execute it requires solving a cascade of interdependent problems. A task command specifies where the gripper should be — but motors are controlled by joint angles. Translating between these two representations (task space and joint space) is the fundamental challenge that motivates every module in this pipeline. This tutorial traces the complete chain: from the mathematical framework of forward kinematics, through inverse kinematics solvers and hand-eye calibration, into motion planning, and finally to the modern paradigm shift brought by vision-language-action models. Each stage answers one core question and leaves a tension that the next stage resolves.
1. What Mathematical Framework Links Joint Angles to End-Effector Poses?
The most fundamental mapping in robotics is the one from joint space — the space of joint angles or displacements that drive the motors — to task space — the 6-DOF pose (three positions and three orientations) of the end-effector in world coordinates. Forward kinematics (FK) computes this mapping deterministically: given a vector of joint values $q = [q_1, q_2, \ldots, q_n]$, FK uniquely determines the end-effector pose.
The Modified Denavit-Hartenberg Convention
The standard tool for modeling serial arm geometry is the Modified Denavit-Hartenberg (DH) convention, described in Craig's Introduction to Robotics: Mechanics and Control (3rd Edition). For each joint $i$, a coordinate frame ${i}$ is attached to the proximal (joint) end of the link. Four parameters characterize the transformation from frame ${i-1}$ to ${i}$: Introduction to Robotics
- $\theta_i$: rotation angle about the $z_{i-1}$ axis
- $d_i$: translation along the $z_{i-1}$ axis (link offset)
- $a_i$: translation along the $x_i$ axis (link length)
- $\alpha_i$: rotation about the $x_i$ axis (link twist)
The resulting $4 \times 4$ homogeneous transformation matrix encodes both position and orientation in a single representation:
$$T_i = \begin{bmatrix} \cos\theta_i & -\sin\theta_i & 0 & a_i \ \sin\theta_i\cos\alpha_i & \cos\theta_i\cos\alpha_i & -\sin\alpha_i & -d_i\sin\alpha_i \ \sin\theta_i\sin\alpha_i & \cos\theta_i\sin\alpha_i & \cos\alpha_i & d_i\cos\alpha_i \ 0 & 0 & 0 & 1 \end{bmatrix}$$
where $c = \cos$ and $s = \sin$. The complete end-effector pose relative to the base frame is obtained by chaining these transforms: $T_0^{n} = T_1 \times T_2 \times \cdots \times T_n$. The upper-left $3 \times 3$ block is the rotation matrix; the last column is the position vector.
This DH parameterization is the language that every downstream module — IK solvers, calibration, motion planning — inherits and relies upon. It is also the convention used by the Robotics Toolbox for Python and ROS MoveIt when parsing robot description files (URDF).
2. How Does a Robot Solve for Joint Angles Given a Desired End-Effector Pose?
Forward kinematics gives you the pose for any set of joint angles. The inverse problem — inverse kinematics (IK) — asks: given a desired end-effector pose, what joint angles produce it? This is nonlinear, may have multiple solutions, and can have no solution at all. It is also computationally harder than FK: where FK is a direct matrix multiplication, IK requires solving nonlinear equations, often iteratively.
Analytical versus Numerical IK
Analytical IK (e.g., Pieper's method) yields closed-form solutions but only for robots with specific kinematic structures — typically 6-DOF arms with decoupled wrists. These solutions are exact and fast, but they do not generalize across robot morphologies.
Numerical IK formulates IK as an optimization problem: minimize $|f(q) - y|$ where $f$ is the forward kinematics function and $y$ is the desired end-effector pose. Jacobian-based methods (pseudo-inverse, Jacobian transpose) and damped least-squares (DLS) solve this iteratively. TRAC-IK improves robustness over the classic KDL solver by combining damped least-squares with SVD-based trust-region methods (algorithmic details inferred from standard IK literature). BioIK uses evolutionary optimization (differential evolution), with its specific algorithmic details sourced from optimization literature rather than directly verified in the primary GraphDiff-IK paper, providing good coverage of the solution space for complex robots.
Singularities are configurations where the Jacobian loses rank (its determinant approaches zero), causing joint velocities to become unbounded. DLS handles this by adding a regularization term $\lambda I$ to the pseudo-inverse, trading accuracy for stability near singular configurations.
Learning-Based IK: GraphDiff-IK
A June 2026 approach called GraphDiff-IK reformulates whole-body IK as a conditional graph diffusion process. The robot's kinematic structure (parsed from a URDF file) is represented as a graph: joints are nodes, kinematic dependencies are edges. During training, forward diffusion gradually corrupts valid joint configurations; a branch-aware graph neural network with FiLM conditioning learns to predict the noise. At inference, starting from Gaussian noise, the reverse diffusion process — conditioned on the target end-effector pose — generates valid joint configurations. The key advantage over classical solvers is natural multi-solution management: different noise samples lead to different valid joint configurations, capturing the inherently multi-modal nature of IK for redundant robots. GraphDiff-IK

Caption: The GraphDiff-IK pipeline has three stages. (a) Data generation: URDF → kinematic graph; joint configurations $q$ are sampled and forward kinematics computes end-effector poses $y = f(q)$. (b) Training: forward diffusion corrupts joint states, and a branch-aware GNN with FiLM conditioning predicts structured noise. (c) Inference: reverse diffusion conditioned on the target end-effector pose generates a valid joint configuration. GraphDiff-IK
3. Why Does Vision-Guided Manipulation Require a Calibrated Relationship Between Camera and Robot?
Visual perception systems like VGGT and VLA models produce results in the camera frame. Robot control acts in the robot base frame. Without knowing the rigid transformation between these frames, visual estimates cannot be converted into executable joint commands. This is the hand-eye calibration problem.
The AX=XB Problem on SE(3)
Park and Martin (1994) formalized hand-eye calibration as an equation on the Euclidean group SE(3): when a robot moves from one pose to another, the relative motion of the end-effector $A$ and the relative motion of the camera $B$ must satisfy $AX = XB$, where $X$ is the unknown rigid transformation between the camera and the robot. Viewing these as elements of SE(3) admits a closed-form quaternion solution via canonical coordinates. Park & Martin, 1994
There are two geometric configurations:
- Eye-in-hand: the camera is mounted on the end-effector. $X$ represents the end-effector-to-camera transformation.
- Eye-to-hand (eye-on-base): the camera is fixed to the robot base. $X$ represents the base-to-camera transformation.
Both reduce to the same $AX = XB$ equation; the only difference is which frames $A$ and $B$ relate. Modern calibration toolkits (Kalibr, ViSP) implement variants of this Lie-theoretic approach. The practical implication is that before deploying a VLA or VGGT system, accurate calibration is essential — VGGT may predict camera parameters correctly, but those parameters must be expressed in the robot base frame to produce executable motions.
4. How Does a Robot Compute a Collision-Free Path Between Two Configurations?
IK gives you a goal configuration in joint space. But the arm must navigate around obstacles — including itself — to reach that configuration. Motion planning solves the problem of finding a collision-free trajectory through the robot's configuration space (C-space), where each point represents a complete joint configuration.
Configuration Space and Sampling-Based Planning
The C-space formulation maps workspace obstacles into C-space regions the robot must avoid. Sampling-based methods like RRT (Rapidly-Exploring Random Trees) sidestep the curse of dimensionality by randomly sampling C-space rather than discretizing it. RRT grows a tree by repeatedly sampling a random configuration $q_{\text{rand}}$, finding the nearest vertex $q_{\text{near}}$, and extending toward $q_{\text{rand}}$ by a fixed step size $\Delta q$ to produce $q_{\text{new}}$. The algorithm's Voronoi bias — unexplored regions have the largest Voronoi cells and are more likely to be sampled — ensures uniform exploration of C-space.
RRT-Connect improves on basic RRT by growing two trees simultaneously: one rooted at the start configuration $q_{\text{init}}$, one at the goal $q_{\text{goal}}$. In each iteration, one tree is active (performing the usual RRT extend operation) and the other tree greedily Connects toward the newly added vertex — repeatedly extending until it either reaches the goal or hits an obstacle. When the trees meet, concatenating their paths yields a complete solution. This bidirectional growth with the Connect heuristic dramatically accelerates convergence on single-query problems compared to single-tree RRT. RRT-Connect is probabilistically complete: if a solution exists, the probability of finding it approaches 1 as running time increases, with no parameter tuning and no preprocessing required. RRT-Connect
In practice, RRT-Connect is available as ompl::geometric::RRTConnect in the Open Motion Planning Library (OMPL), which MoveIt2 uses internally. Users configure the planner through the ROS2 parameter interface, specifying step range and goal bias without needing to modify the algorithm itself.
flowchart TD
A["start: RRT_a at q_init"] --> B["RRT_b at q_goal"]
B --> C["sample q_rand in C-space"]
C --> D["find q_near in active tree"]
D --> E["EXTEND active toward q_rand → q_new"]
E --> F{"q_new collision-free?"}
F -->|yes| G["Connect passive toward q_new"]
G --> H{"trees meet?"}
H -->|yes| I["path found by concatenation"]
H -->|no| C
F -->|no| C
5. Can a Robot Learn to Follow Language Commands End-to-End, Bypassing Explicit Geometric Decomposition?
The traditional pipeline — FK → IK → calibration → motion planning — is modular and interpretable, but each module introduces approximation errors, and engineering hand-crafted perception pipelines is labor-intensive. The modern alternative is to learn these mappings end-to-end from data.
The VLA Architecture Template: RT-2
RT-2 (Vision-Language-Action), published in 2023, coined the Vision-Language-Action (VLA) paradigm. Its architecture consists of three components: a vision encoder (ViT, processing camera images), a large language model backbone (PaLI-X or PaLM-E), and an action token head that outputs robot actions as text tokens. Robot actions — 6-DoF end-effector displacement plus gripper extension and episode termination — are discretized into 256 bins per dimension and represented as 8 integer tokens (e.g., "1 128 91 241 5 101 127"). During inference, these tokens are de-tokenized into motor commands for closed-loop control. RT-2

Caption: RT-2 represents robot actions as text tokens within a vision-language model. Camera inputs are processed by a ViT vision encoder, fed into a large LLM backbone (PaLM-E or PaLI-X), which outputs both natural language responses and discretized robot action tokens. These tokens are de-tokenized into motor commands for closed-loop control. This design enables co-fine-tuning on both robot trajectory data and original web-scale VLM tasks. RT-2
The critical insight is co-fine-tuning: rather than fine-tuning only on robot data (which causes catastrophic forgetting of web knowledge), RT-2 trains on both robotics trajectories and original web-scale vision-language tasks simultaneously. This preserves the model's generalization — RT-2 achieves roughly 2x improvement over baselines on unseen objects, backgrounds, and environments, and exhibits emergent semantic capabilities like placing an object on a specific icon or selecting the smallest item, abilities never explicitly trained in robot data.
VLAMotor: Test-Guided VLA Enhancement
A June 2026 system called VLAMotor addresses a critical deployment gap: VLAs fail on edge cases that were never seen during training. VLAMotor operates in two phases. Phase 1 selects failure-revealing test cases using distance-aware uncertainty — it measures how far a candidate test is from known training examples in the VLA's fused latent space, ranking by failure-revealing potential and eliminating redundant candidates. Phase 2 runs an agentic repair loop: an abstraction module converts failure trajectories into semantic representations, a VLM-based planner sequences 16 parameterized repair skill primitives (perception repair, motion repair, interaction repair), and IK plus motion planning ground each skill into an executable trajectory. Successful repaired trajectories become supervisory data for fine-tuning the VLA. Evaluated on OpenVLA, RT-1, and $\pi_{0.5}$, VLAMotor reports 92.33% failure detection, 49.25% success rate improvement on the VLA itself, and 57.50% improvement in sim-to-real transfer on physical hardware. VLAMotor

Caption: VLAMotor's two-phase workflow. Phase 1 (①→②→③→④) builds a compact failure-exposing test set via latent-space distance ranking. Phase 2 (⑤→⑥→⑦→⑧→⑨) runs an agentic loop: abstraction → VLM-based repair planner → skill grounding via IK and motion generation → simulator execution → success check → dataset aggregation → fine-tuning, producing an enhanced VLA model from the original. VLAMotor
Where Does VLA Training Data Come From?
Robot demonstrations are costly, safety-constrained, and embodiment-specific. Human videos (YouTube, ego-centric recordings) are abundant and capture rich semantic and physical manipulation cues, but they lack robot-compatible action labels. Bridging this gap is the central data problem for scaling VLAs. Four representation bridge routes have emerged:
- Latent Action Abstraction: VQ-VAE-style discretization of inter-frame changes into latent action tokens (e.g., LAPA, IGOR, GO-1, GR00T, UniVLA).
- Predictive World Modeling: video generation models learn action-relevant dynamics; internal representations are distilled into policies (e.g., GR-1, GR-2, FLARE).
- Explicit 2D Cues: off-the-shelf vision tools extract image-plane signals — point tracks, keypoints, optical flow, contact points (e.g., ATM, Magma, Gemini Robotics).
- Explicit 3D Structure: recover 3D geometry (poses, trajectories) to retarget motion into robot-compatible action spaces (e.g., EgoVLA, H-RDT, VidBot).
Key challenges in this conversion are episodization (segmenting raw video into training-ready episodes), embodiment mismatch (high-DoF human motion onto lower-DoF robots), and viewpoint heterogeneity (head-mounted ego views versus fixed robot-centric cameras). Human-to-VLA Survey

Caption: Four routes bridge internet-scale human video data to robot-compatible action demonstrations. Latent Action Abstraction discretizes inter-frame changes; Predictive World Modeling distills video generation priors; Explicit 2D Cues extract image-plane signals; Explicit 3D Structure recovers 3D geometry for retargeting. All four produce action-relevant learning signals for VLA training. Human-to-VLA Survey
6. How Does a Vision-Only Transformer Estimate 3D Geometry for Grasping, and Where Do World Models Fit?
While VLAs like RT-2 predict actions from language and vision, another line of work asks: can a transformer directly predict 3D geometry — camera poses, depth, point clouds — from 2D images, without explicit 3D object models?
VGGT: Visual Geometry Grounded Transformer
VGGT (Visual Geometry Grounded Transformer), published at CVPR 2025, takes multiple images and outputs camera parameters, depth maps, and point maps in a single forward pass in under one second. Its architecture processes input images through a DINOv2 visual backbone that patchifies them into tokens, appends camera tokens for camera parameter prediction, and then applies alternating frame-wise and global self-attention layers. A camera head predicts extrinsics and intrinsics; DPT (Dense Prediction Transformer) heads output depth maps and point maps. The model is trained on extensive 3D-annotated data and achieves zero-shot grasp pose estimation: given a few images of a novel object, VGGT predicts the 3D structure needed to compute 6-DoF grasp poses without per-instance optimization. The efficiency variant eVGGT is designed for real-time robot control. VGGT

Caption: VGGT architecture: input images are patchified into tokens by DINOv2, with camera tokens appended for camera prediction. Alternating frame-wise and global self-attention layers process the token sequence. A camera head predicts camera extrinsics and intrinsics; DPT heads output depth maps and point maps for all input images simultaneously. VGGT
World Models for Manipulation: A Broader Landscape
Beyond VLAs and VGGT, the broader framework of world models — action-conditioned predictive systems that estimate task-relevant future world evolution — is reshaping how researchers think about manipulation. A May 2026 survey organizes this space along two axes: what representation is predicted and how prediction connects to action.
Five representation families capture the landscape:
- Image and video representations: appearance-reconstructive prediction; scales with data but may waste capacity on texture
- Learned latent representations: compact state-space prediction (e.g., Dreamer, WorldVLA); efficient planning but hides physical structure
- Motion fields and scene flow: displacement prediction closer to action consequences but task-specific
- Geometric and spatiotemporal representations: depth, point clouds, 3D/4D scene models (VGGT falls here); improves spatial reasoning under occlusion
- Physics-informed dynamics: encodes rigid-body, contact, friction priors; strong when assumptions hold, brittle when they do not
The prediction-action interface separates into two categories:
- Integrated models: prediction is fused inside the action-producing model (RT-2's action head, action-conditioned video generators)
- Explicit predictive planners: prediction is exposed as an intermediate target — a subgoal, a trajectory, or a structured plan — that a downstream controller must realize
Key open challenges include contact modeling (discontinuous contact is hard to predict reliably), hallucination control (visually plausible but physically impossible futures), and action alignment (ensuring predictions preserve action-relevant structure). World Models for Manipulation Survey

Caption: Functional taxonomy of prediction-action interfaces. (a–b) Integrated prediction-action models embed prediction inside the action-producing model. (c–e) Explicit predictive planners expose prediction as an intermediate target — a subgoal $g_{t+1}$, a trajectory $\tau_{t:t+H}$, or a compact structured plan $p_t$ — that a downstream controller must realize. All receive observation $o_t$ and output action $a_t$. World Models for Manipulation Survey
The field is trending toward hybrid representations — combining video with flow, latent with geometric, Gaussian with physics priors. According to the survey, VLAMotor and VLA safety benchmarks represent the June 2026 frontier of putting these models into reliable deployment.
参考文献
本专题引用的核心资料如下,建议深入学习时阅读原文:
- Introduction to Robotics: Mechanics and Control (3rd Edition) — https://www.amazon.com/Introduction-Robotics-Mechanics-Control-3rd/dp/0201543613
- Robot sensor calibration: Solving AX=XB on the Euclidean group — https://ieeexplore.ieee.org/document/326576
- RRT-Connect: An Efficient Approach to Single-Query Path Planning — https://www.cs.cmu.edu/afs/cs/academic/class/15494-s12/readings/kuffner_icra2000.pdf
- RT-2: Vision-Language-Action Models Transfer Web Knowledge to Robotic Control — https://arxiv.org/abs/2307.15818
- VGGT: Visual Geometry Grounded Transformer — https://arxiv.org/abs/2503.11651
- World Model for Robot Learning: A Comprehensive Survey — https://arxiv.org/abs/2605.00080
- VLAMotor: Test-Guided Enhancement of Vision-Language-Action Models via Agent-Based Data Synthesis — https://arxiv.org/abs/2606.00053
- From Human Videos to Robot Manipulation: A Survey on Scalable Vision-Language-Action Learning with Human-Centric Data — https://arxiv.org/abs/2606.00054
- World Models for Robotic Manipulation: A Survey — https://arxiv.org/abs/2606.00113
- Whole-Body Inverse Kinematics with Graph Diffusion — https://arxiv.org/abs/2606.00086