# roboparty/rp1 architecture

> Architecture diagram of the GitHub repository roboparty/rp1, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-17). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/roboparty/rp1
- Repository: https://github.com/roboparty/rp1

## Overview

This repository is an overview of the RP1 open humanoid platform, not the implementation of its subsystems. The README documents a control workflow from input and perception through motion control and real-time control to whole-body execution, alongside hardware, firmware, robot descriptions, deployment, and learning capabilities. Repository nodes below represent separately maintained projects, not source files in this checkout. Relationships are based on the README’s architecture description and project summaries; implementation details cannot be verified from the available tree.

Main entry points: [`README.md`](https://github.com/roboparty/rp1/blob/main/README.md) (Whole-body Execution)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_hardware["Hardware"]
  node_hardware_design["Mechanical &amp; Electronics<br/>[README.md]"]
  node_hardware_repo["rp1_hardware"]
  node_joint_modules["Joint Modules<br/>[README.md]"]
  node_romomo["ROMOMO"]
  node_dexhand["RP-hand"]
end

subgraph group_control["Control Stack"]
  node_input_perception["Input &amp; Perception<br/>[README.md]"]
  node_motion_control["Motion Control Base<br/>[README.md]"]
  node_retargeting["Motion Retargeting<br/>[README.md]"]
  node_policies["Motion Policies<br/>[README.md]"]
  node_realtime["Real-time Control<br/>[README.md]"]
  node_action_serial["Action Decode &amp; Solving<br/>[README.md]"]
  node_whole_body["Whole-body Execution<br/>[README.md]"]
  node_estop["E-stop<br/>[README.md]"]
  node_feedback["Feedback Loop<br/>[README.md]"]
end

subgraph group_runtime["Runtime Systems"]
  node_firmware["RP1 Firmware"]
  node_deploy["Runtime SDK"]
  node_robot_models["Robot Descriptions"]
end

subgraph group_learning["Learning"]
  node_training["Training Projects"]
  node_motion_learning["Motion &amp; Behavior Learning<br/>[README.md]"]
end

node_developer(("Developer"))

node_developer -->|"provides input"| node_input_perception
node_input_perception -->|"feeds"| node_motion_control
node_motion_control -->|"includes"| node_retargeting
node_motion_control -->|"includes"| node_policies
node_motion_control -->|"passes control"| node_realtime
node_realtime -->|"decodes and solves"| node_action_serial
node_realtime -->|"directs"| node_whole_body
node_whole_body -->|"executes through"| node_romomo
node_whole_body -->|"executes through"| node_dexhand
node_estop -->|"stops"| node_whole_body
node_whole_body -->|"closes loop"| node_feedback
node_hardware_design -->|"documented in"| node_hardware_repo
node_joint_modules -->|"implemented by"| node_romomo
node_developer -->|"inspects or builds"| node_hardware_design
node_developer -->|"explores"| node_training
node_training -->|"supports"| node_motion_learning
node_developer -->|"extends"| node_firmware
node_developer -->|"uses"| node_deploy
node_developer -->|"configures"| node_robot_models

click node_hardware_design "https://github.com/roboparty/rp1/blob/main/README.md"
click node_joint_modules "https://github.com/roboparty/rp1/blob/main/README.md"
click node_input_perception "https://github.com/roboparty/rp1/blob/main/README.md"
click node_motion_control "https://github.com/roboparty/rp1/blob/main/README.md"
click node_retargeting "https://github.com/roboparty/rp1/blob/main/README.md"
click node_policies "https://github.com/roboparty/rp1/blob/main/README.md"
click node_realtime "https://github.com/roboparty/rp1/blob/main/README.md"
click node_action_serial "https://github.com/roboparty/rp1/blob/main/README.md"
click node_whole_body "https://github.com/roboparty/rp1/blob/main/README.md"
click node_estop "https://github.com/roboparty/rp1/blob/main/README.md"
click node_feedback "https://github.com/roboparty/rp1/blob/main/README.md"
click node_motion_learning "https://github.com/roboparty/rp1/blob/main/README.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_hardware_design,node_hardware_repo,node_joint_modules,node_romomo,node_dexhand toneBlue
class node_input_perception,node_motion_control,node_retargeting,node_policies,node_realtime,node_action_serial,node_whole_body,node_estop,node_feedback toneAmber
class node_firmware,node_deploy,node_robot_models toneMint
class node_training,node_motion_learning toneRose
class node_developer toneIndigo
```

## Components

### Hardware

- [Mechanical & Electronics](https://github.com/roboparty/rp1/blob/main/README.md): `README.md`
- **rp1_hardware**
- [Joint Modules](https://github.com/roboparty/rp1/blob/main/README.md): `README.md`
- **ROMOMO**
- **RP-hand**

### Control Stack

- [Input & Perception](https://github.com/roboparty/rp1/blob/main/README.md): `README.md`
- [Motion Control Base](https://github.com/roboparty/rp1/blob/main/README.md): `README.md`
- [Motion Retargeting](https://github.com/roboparty/rp1/blob/main/README.md): `README.md`
- [Motion Policies](https://github.com/roboparty/rp1/blob/main/README.md): `README.md`
- [Real-time Control](https://github.com/roboparty/rp1/blob/main/README.md): `README.md`
- [Action Decode & Solving](https://github.com/roboparty/rp1/blob/main/README.md): `README.md`
- [Whole-body Execution](https://github.com/roboparty/rp1/blob/main/README.md): `README.md`
- [E-stop](https://github.com/roboparty/rp1/blob/main/README.md): `README.md`
- [Feedback Loop](https://github.com/roboparty/rp1/blob/main/README.md): `README.md`

### Runtime Systems

- **RP1 Firmware**
- **Runtime SDK**
- **Robot Descriptions**

### Learning

- **Training Projects**
- [Motion & Behavior Learning](https://github.com/roboparty/rp1/blob/main/README.md): `README.md`

### Other components

- **Developer**

## Connections

- Developer → Input & Perception: provides input (evidence: `README.md`)
- Input & Perception → Motion Control Base: feeds (evidence: `README.md`)
- Motion Control Base → Motion Retargeting: includes (evidence: `README.md`)
- Motion Control Base → Motion Policies: includes (evidence: `README.md`)
- Motion Control Base → Real-time Control: passes control (evidence: `README.md`)
- Real-time Control → Action Decode & Solving: decodes and solves (evidence: `README.md`)
- Real-time Control → Whole-body Execution: directs (evidence: `README.md`)
- Whole-body Execution → ROMOMO: executes through (evidence: `README.md`)
- Whole-body Execution → RP-hand: executes through (evidence: `README.md`)
- E-stop → Whole-body Execution: stops (evidence: `README.md`)
- Whole-body Execution → Feedback Loop: closes loop (evidence: `README.md`)
- Mechanical & Electronics → rp1_hardware: documented in (evidence: `README.md`)
- Joint Modules → ROMOMO: implemented by (evidence: `README.md`)
- Developer → Mechanical & Electronics: inspects or builds (evidence: `README.md`)
- Developer → Training Projects: explores (evidence: `README.md`)
- Training Projects → Motion & Behavior Learning: supports (evidence: `README.md`)
- Developer → RP1 Firmware: extends (evidence: `README.md`)
- Developer → Runtime SDK: uses (evidence: `README.md`)
- Developer → Robot Descriptions: configures (evidence: `README.md`)
