Introduction
A humanoid software stack connects sensors, communication buses, controllers and applications. The operating system and middleware are parts of that stack. A shared middleware interface does not by itself guarantee predictable actuator timing.
Key facts
- China launched a national technical specification project for humanoid operating systems in 2026.
- ROS 2 provides middleware and security tools but is not a complete humanoid operating system by itself.
- Real time motor control often runs below the high level Linux process layer.
The stack starts below Linux
Motor current loops and some joint control functions often run on embedded controllers with strict timing. A central computer may run Linux with a real time configuration while separate microcontrollers handle power motion sensing and safety. The operating system design must connect these layers without turning one delayed process into unstable motion.
Hardware abstraction keeps software portable
A useful humanoid software platform exposes joints cameras force sensors hands batteries and communication buses through stable interfaces. This lets developers replace hardware without rewriting every application. Hardware abstraction also makes simulation and regression testing easier because the same higher level interfaces can be connected to simulated devices.
Middleware moves data between skills and control
ROS 2 is widely used in research and commercial robotics because it provides discovery messaging services actions tools and DDS based communication. A production humanoid still needs choices around Quality of Service process isolation lifecycle management logging time synchronization and secure identity.
AI services should not own every safety decision
Vision language models and policy networks can propose goals or actions. Safety critical limits should remain enforceable by lower layers that do not depend on a large model returning the right answer. A practical architecture keeps hard limits safe states watchdogs and emergency functions close to the control path.
What the operating-system project establishes
SAMR project 20262886-T-604 was issued on 22 May 2026 with a 15-month drafting period. The public notice identifies proposed operating-system work and participating organisations. It does not show that their robots already run a shared operating system or exchange skills.
A middleware restart should not decide whether the robot keeps balancing
The software boundary becomes visible during a failure. If a user-facing application crashes, which process still reads the IMU, computes the joint commands and enforces the robot's stop behavior? A humanoid architecture may use embedded drives for fast control, a host operating system for planning and middleware for communication; those responsibilities should be documented rather than hidden behind a single 'robot OS' label.
A supervised integration test can restart a non-safety-critical task process and record which controllers change state, what motion is permitted and what the operator sees. Separately document how the embedded controller reacts to stale targets. The ros2_control controller manager describes software lifecycle and fallback handling; its presence does not by itself establish an independent safety-rated subsystem or deterministic timing on unmeasured hardware.