cs.ROSep 28, 2026

RoboCompiler: Graph-Native Compilation of Closed-Chain Robots for Consistent Modeling, Control, and Simulation

Authors: Mehdi Heydari Shahna, Joongheon Kim, Jouni Mattila

Organizations: Faculty of Engineering and Natural Sciences, Tampere University, Tampere, Finland

Abstract

Robots with kinematic loops, coupled actuators, and changing contacts require consistent models of configuration, motion, force, and dynamics. Yet these interfaces are often reconstructed separately for control and simulation, making closure and actuation consistency difficult to maintain. This paper presents RoboCompiler, a graph-native framework that compiles a canonical mechanism graph into a shared mechanical interface. From bodies, joints, frames, inertias, and actuator ports, it constructs closure paths and analytic residual Jacobians, then assembles feasible configurations through rank-checked continuation and correction. A tangent lift maps independent velocities to full robot and task motion, while paired actuator-port maps preserve virtual work. A constraint-curvature correction extends the reduction to accelerations and projected rigid-body dynamics, including floating-base and support modes. Cycle-local evaluation, generated Jacobians, and dependency-aware reuse enable localized updates when closure inputs change. We evaluate physical loops and task-induced constraints on a industrial excavator, Unitree Go2, Franka Panda, Kangaroo, and a six-UPS Stewart platform. High-precision constrained-dynamics and independent Pinocchio checks confirm mechanical consistency; MuJoCo and Isaac Sim/PhysX executions demonstrate task performance and model reuse under native contact. For Kangaroo, compilation reduces residual-and-Jacobian evaluation time by 96.7% and closed-loop rollout wall time by 66.8%, with dynamics and control held fixed.

Figures & tables

Explore similar work

CardsList
  1. RelAfford6D: Relational 6D Affordance Graphs for Constraint-Driven Robotic Manipulation

    Jun 25, 2026Guodong Zhang, Qichen He, Wenyuan Xie +6Robotic ManipulationKinematics

  2. Batched Differentiable Rigid Body Dynamics in PyTorch for GPU-Accelerated Robot Learning

    May 29, 2026Yue Wang, Yanran Xu, Wenbo Wu +2Rigid-Body DynamicsPytorch

  3. Highly-Efficient Differentiable Simulation for Robotics

    Sep 11, 2024Quentin Le Lidec, Louis Montaut, Yann de Mont-Marin +3Rigid-Body DynamicsDifferentiable Physics