arXiv:2609.08010cs.ROSep 2026

Manuscript Offprint

arXiv:2609.08010

mjorbit: A Simulation Framework for Space Robotics

John Z. Zhang, Joris Verhagen, Fausto Vega, Patrick McKeen, Zachary Manchester

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

John Z. Zhang¹, Joris Verhagen², Fausto Vega¹, Patrick McKeen¹, and Zachary Manchester¹

Abstract— This paper presents a general framework for simulating multi-body space robots with contact. We bring efficient, large-scale robot simulation to in-space servicing, assembly, and manufacturing applications. First, we perform an empirical trade study of methods for coupling orbit propagation with existing robotics simulation frameworks. Next, we present mjorbit, a general, flexible, and performant framework built on the MuJoCo engine widely used in robotics, to which we add key spacecraft dynamics, actuators, and sensors. We provide a low-latency C++ CPU backend and a high-throughput GPU backend behind a simple Python API. We demonstrate mjorbit by solving several realistic on-orbit case studies with both model-predictive control and reinforcement learning. Open-source code and examples are available at:

https://johnzhang3.github.io/mjorbit/

I. INTRODUCTION

Contact-rich interaction is central to upcoming space missions, including on-orbit servicing, active debris removal, and in-space assembly. A robot may need to dock with a client spacecraft, grasp a tumbling non-cooperative target, manipulate an articulated payload, or stabilize an object after capture. These behaviors couple orbital motion, attitude dynamics, articulated multibody dynamics, actuation, sensing, and intermittent contact over long horizons. However, existing simulators tend to emphasize different parts of this problem: astrodynamics frameworks [1] provide modular orbit, attitude, environmental, and flight-software simulation capabilities, but are typically missing multibody and contact dynamics modeling, and often don't support hardware acceleration. Robotics simulators [2], [3], [4] provide efficient, increasingly GPU-accelerated implementations of articulated rigid-body dynamics and contact but do not model orbital mechanics and environmental effects on the spacecraft. Recent works have explored bridging these gaps [5], [6], [7], yet a general, efficient framework for space robotics simulation is still missing.

We bridge this gap with a general space-robotics simulation framework that provides accurate long-horizon physics and is tailored for policy learning and control. We analyze common choices when designing such a framework and demonstrate that our implementation is accurate both over long horizons and in single-precision arithmetic on GPUs [8]. Our framework, mjorbit, builds on the MuJoCo physics engine [2] and its GPU-optimized variant, MJWarp [9]. We model orbital dynamics and perturbations — including J2,

Figure

Fig. 1: Example control policies from mjorbit: (a) attitude control using articulated arms, (b) autonomous rendezvous and docking, (c) grasping an orbit payload, and (d) Astrobee robot detumbles and grasps a free-floating cargo module.

atmospheric drag, solar radiation pressure, and magnetic torques. We also support common spacecraft actuators and sensors: thrusters, reaction wheels, control-moment gyros, magnetic torque coils, magnetometers, and sun sensors. To integrate with existing sim-to-real policy-learning [10], [8], [11] and control [12], [13], [14], [15] pipelines, we adopt a MuJoCo-like API [2].

Our specific contributions include:

  • A framework for coupling existing robotics simulation with orbital dynamics.
  • A CPU implementation for low-latency physics simulation in C++ and a GPU implementation for high-throughput data generation.
  • A set of examples using mjorbit for real-time control and policy training.

The paper is organized as follows: Sec. II and Sec. III review related work and background, Sec. IV studies frame and integrator choices under limited numerical precision, Sec. V presents the mjorbit framework, Sec. VI demonstrates it on control and policy-learning examples, and Sec. VII concludes with limitations and future work.

References (36)