Robot Model Integration
Deliver a stable, reproducible, and Alex-compatible upper-body fixed-base robot model in MuJoCo, with functional bimanual grippers and a finalized action/state contract for VLA training.
Primary Goal
Establish a "source of truth" robot model with frozen action/state contracts, validated kinematics, and multi-view camera setup ready for dataset generation.
Fixed Decisions (frozen for 1.1+)
MuJoCo (MJCF-first workflow)
Existing IHMC Alex model (no proxy)
Upper-body fixed-base (no locomotion in 1.x)
Level 2+ (full kinematic + realistic limits)
Δq joint deltas for bimanual arms + gripper
2 cameras from day 1
Integration Tasks
Seven critical components to establish a production-ready robot model for VLA training
Import/Create Bimanual Robot URDF/MJCF
Start from the existing Alex V1 MJCF in ihmc-alex-sdk, strip lower body, fix head, and set up upper-body fixed-base bimanual configuration.
All downstream phases (multi-view data generation, action learning, sim-to-real) depend on a single "source of truth" robot model that is stable, versioned, and structurally consistent with Alex.
- Pin Alex V1 model version from ihmc-alex-sdk (start from alex_v1_full_body_nub_forearms_mjx.xml)
- Strip lower-body joints (12 joints: HIP_X/Z/Y, KNEE_Y, ANKLE_Y/X per leg)
- Fix NECK_Z/NECK_Y at default head pose, keep SPINE_Z active
- Define a fixed root/body for the torso (no floating base)
- Freeze canonical Alex joint names (SHOULDER_Y/X/Z, ELBOW_Y, WRIST_Z/X, GRIPPER_Z per arm)
Robot model loads reliably, runs 10 seconds without instability, has frozen joint ordering + named EE frames
Configure Joint Limits & Dynamics Parameters
Set joint limits, velocity limits, actuator constraints, and minimal-but-impactful dynamic parameters for stable contact-rich manipulation.
LEGO assembly is sensitive to small instabilities. Incorrect limits or poorly conditioned dynamics cause jitter, penetration, unrealistic contacts, and non-transferable policies.
- Populate min/max joint ranges for both arms (verify sign conventions)
- Define joint velocity limits and implied acceleration limits via rate limiting
- Define actuator ctrlrange and plausible saturation behavior
- Add joint damping/friction terms to reduce oscillations
- Sanity tests: drop/settle, hold-pose under PD, joint sweep
Robot stable under gravity and PD holding, joint motion respects limits, no high-frequency jitter
Set Up End-Effector Models (SAKE EZGripper)
Integrate SAKE EZGripper end-effectors for both arms from the Alex URDF adapters, with stable contacts and an abstraction layer for future PSYONIC Ability Hand swap.
Without reliable grasping, you cannot generate meaningful LEGO datasets or demonstrate bimanual assembly. Using the real Alex end-effectors (EZGripper) from day one ensures sim-to-real alignment.
- Convert EZGripper URDF adapters to MJCF and attach to nub forearm model
- Use collision primitives for EZGripper finger pads (avoid mesh collisions)
- Set friction/contact parameters accounting for underactuated compliance
- Define gripper_cmd ∈ [0, 1] per arm mapping to EZGripper servo range (0–180°)
- Design EndEffectorInterface abstraction for future Ability Hand integration
Both EZGrippers open/close stably and execute repeatable grasp+lift on simple object
Verify Kinematics Match Target (Alex-Compatible)
Produce a Kinematics Validation Report demonstrating that the integrated model matches Alex kinematics (Level 2).
This is your proof that the sim robot is not a "proxy". It protects the project from hidden frame/joint mismatches that would break sim-to-real or invalidate evaluation.
- Use the pinned Alex model definition as reference
- Sample 50–200 random joint configs for FK consistency tests
- Compute EE position error (cm) and orientation error (degrees)
- Verify workspace overlap and check for mirrored-axis mistakes
- Document joint ordering table, frame conventions, error distributions
Report exists, FK tests show no gross mismatch, clear Go/No-Go statement for dataset generation
Action Space & Low-Level Control Contract
Freeze the action vector definition and low-level control strategy that converts model outputs into stable joint motion.
Your entire learning system (dataset, policy output head, chunking, evaluation) depends on an unambiguous action contract. If this changes later, you risk invalidating collected data and learned models.
- Define action = [Δq_spine(1), Δq_left(7), Δq_right(7), gripper_left(1), gripper_right(1)] → 17-D
- Normalize action to [-1, 1] and map to Δq via Δq_max per joint
- Policy/control rate: 20 Hz (one action per 50 ms)
- Physics substeps: 5–10 substeps per action
- Joint-space PD/impedance tracking with safety clamps
Action contract frozen, action sequences result in stable bounded motion, no jitter under repeated chunks
Robot State Contract
Define the robot state vector that will be logged and used as input for the VLA policy.
A stable and informative state representation improves learning efficiency, supports precision assembly, and enables rigorous debugging and evaluation.
- Core: Joint positions (q), joint velocities (q_dot), gripper state
- Recommended: EE pose (pos + quat), EE velocity for each arm
- All poses/velocities specify reference frame (base/torso)
- Quaternion ordering convention documented consistently
- State normalization ranges documented (clip ranges, scaling)
State vector stable across runs, fields logged and validated, schema frozen for dataset generation
Multi-View Cameras (2 Views)
Set up two synchronized camera streams in MuJoCo for data generation and policy inputs.
Bimanual LEGO assembly requires both an ego-centric robot perspective and an external observation view. Multi-view inputs strengthen generalization and make demos more compelling for industrial evaluation.
- Robot Camera — mounted on the robot, providing the robot's own perspective
- Third-Person Camera — external camera looking directly at the robot
- Ensure synchronization (both cameras correspond to same sim timestep)
Both cameras render reliably (headless-capable), robot camera tracks correctly, config frozen for dataset logging
Notes & Risks
- LEGO contact richness can cause solver instability; prioritize collision simplification and stable solver settings early.
- Kinematic mismatches (axis flips, wrong EE frame) are the #1 silent failure mode; validation report is mandatory before dataset generation.
- Do not expand to full-body locomotion in 1.x; keep scope aligned with bimanual tabletop assembly.
Definition of Done
Robot Model
Alex upper-body fixed-base MJCF loads and simulates stably with Level 2+ constraints.
End-Effectors
Bimanual SAKE EZGripper end-effectors work reliably for basic grasp+lift operations.
Action Contract
17-D action (Δq spine + bimanual arms + gripper) is frozen and stable under repeated action chunks.
State Contract
Core proprioception + EE pose/velocity is consistent and schema is frozen.
Camera Setup
2 cameras (robot camera, third-person) render reliably and synchronously.
Validation
Kinematics Validation Report exists with FK-based evidence of Alex compatibility.
6 days