# shiisuii/robbie-at-home architecture

> Architecture diagram of the GitHub repository shiisuii/robbie-at-home, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/shiisuii/robbie-at-home
- Repository: https://github.com/shiisuii/robbie-at-home

## Overview

Robbie@Home is a distributed ROS 2 mobile-manipulation and HRI robot. A principal workflow is a spoken request captured by the Jetson ASR service, consumed by NUC-side mission/HRI software, and carried out using navigation, perception, and manipulation capabilities. The graph also preserves mapping, hardware control, and simulation as distinct product branches. Relationships for unsampled subsystems are limited to README-documented connections; the excerpts provide more specific evidence for voice transport and Restaurant orchestration.

Main entry points: [`src/base_athome_navigation/launch/nav2_bringup.launch.py`](https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_navigation/launch/nav2_bringup.launch.py) (Autonomous navigation), [`src/base_athome_skills/base_athome_skills/restaurant_node.py`](https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_skills/base_athome_skills/restaurant_node.py) (Restaurant node), [`src/base_athome_skills/base_athome_skills/mission`](https://github.com/shiisuii/robbie-at-home/tree/main/src/base_athome_skills/base_athome_skills/mission) (Mission execution), [`src/base_athome_perception/base_athome_perception/voice_client.py`](https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_perception/base_athome_perception/voice_client.py) (Voice client)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_hardware["Robot Hardware"]
  node_base_driver["Mobile base driver"]
  node_lidar["Hokuyo LiDAR driver<br/>[urg_node.cpp]"]
  node_arm_control["Piper arm control"]
  node_head_control["Pan-tilt control<br/>[pan_tilt_node.py]"]
  node_torso_control["Torso lift control"]
end

subgraph group_perception["Perception and HRI"]
  node_voice_client["Voice client<br/>[voice_client.py]"]
  node_asr["Whisper ASR<br/>[whisper_node.py]"]
  node_restaurant_vlm["Tray verification<br/>[vlm.py]"]
  node_bag_vision["Bag and people vision<br/>[bag_vision.py]"]
  node_person_search["Person search<br/>[person_search.py]"]
  node_person_matcher["Person matching<br/>[person_matcher.py]"]
end

subgraph group_missions["Navigation and Missions"]
  node_mission["Mission execution"]
  node_restaurant_node["Restaurant node<br/>[restaurant_node.py]"]
  node_restaurant_session["Restaurant session"]
  node_restaurant_planner["Order planning<br/>[restaurant.py]"]
  node_navigation["Autonomous navigation"]
  node_mapping["SLAM mapping"]
end

subgraph group_simulation["Simulation"]
  node_sim_robot["Robot simulator<br/>[sim_robot.py]"]
  node_sim_model["Gazebo model<br/>[gz_model.py]"]
end

node_person(("Robot user"))

node_person -->|"speaks to"| node_voice_client
node_voice_client -->|"requests listening"| node_asr
node_asr -->|"publishes results"| node_voice_client
node_voice_client -.->|"supplies speech"| node_mission
node_restaurant_node -->|"runs session"| node_restaurant_session
node_restaurant_node -->|"uses Nav2"| node_navigation
node_restaurant_node -->|"requests detection"| node_bag_vision
node_restaurant_session -->|"uses planning"| node_restaurant_planner
node_restaurant_planner -->|"verifies tray"| node_restaurant_vlm
node_person_search -->|"matches candidates"| node_person_matcher
node_navigation -->|"commands velocity"| node_base_driver
node_lidar -->|"provides scans"| node_navigation
node_mapping -.->|"builds maps"| node_navigation
node_mission -.->|"requests navigation"| node_navigation
node_mission -.->|"requests manipulation"| node_arm_control
node_mission -.->|"controls lift"| node_torso_control
node_restaurant_node -->|"aims head"| node_head_control
node_sim_robot -->|"uses model"| node_sim_model

click node_voice_client "https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_perception/base_athome_perception/voice_client.py"
click node_asr "https://github.com/shiisuii/robbie-at-home/blob/main/jetson_head/src/audio_asr/audio_asr/whisper_node.py"
click node_mission "https://github.com/shiisuii/robbie-at-home/tree/main/src/base_athome_skills/base_athome_skills/mission"
click node_restaurant_node "https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_skills/base_athome_skills/restaurant_node.py"
click node_restaurant_session "https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_skills/base_athome_skills/mission/restaurant_session.py"
click node_restaurant_planner "https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_skills/base_athome_skills/mission/restaurant.py"
click node_restaurant_vlm "https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_skills/base_athome_skills/mission/vlm.py"
click node_bag_vision "https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_perception/base_athome_perception/bag_vision.py"
click node_person_search "https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_perception/base_athome_perception/person_search.py"
click node_person_matcher "https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_perception/base_athome_perception/person_matcher.py"
click node_navigation "https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_navigation/launch/nav2_bringup.launch.py"
click node_mapping "https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_mapping/launch/slam_2d_mapping.launch.py"
click node_base_driver "https://github.com/shiisuii/robbie-at-home/blob/main/src/hoverboard_base/hoverboard_base/hoverboard_driver.py"
click node_lidar "https://github.com/shiisuii/robbie-at-home/blob/main/src/urg_node/src/urg_node.cpp"
click node_arm_control "https://github.com/shiisuii/robbie-at-home/blob/main/jetson_head/scripts/piper_arm_controller.py"
click node_head_control "https://github.com/shiisuii/robbie-at-home/blob/main/jetson_head/src/pan_tilt_controller/pan_tilt_controller/pan_tilt_node.py"
click node_torso_control "https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_bringup/base_athome_bringup/stepper_controller.py"
click node_sim_robot "https://github.com/shiisuii/robbie-at-home/blob/main/simulation/base_athome_sim/base_athome_sim/sim_robot.py"
click node_sim_model "https://github.com/shiisuii/robbie-at-home/blob/main/simulation/base_athome_sim/base_athome_sim/gz_model.py"

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_base_driver,node_lidar,node_arm_control,node_head_control,node_torso_control,node_person toneBlue
class node_voice_client,node_asr,node_restaurant_vlm,node_bag_vision,node_person_search,node_person_matcher toneAmber
class node_mission,node_restaurant_node,node_restaurant_session,node_restaurant_planner,node_navigation,node_mapping toneMint
class node_sim_robot,node_sim_model toneRose
```

## Components

### Robot Hardware

- [Mobile base driver](https://github.com/shiisuii/robbie-at-home/blob/main/src/hoverboard_base/hoverboard_base/hoverboard_driver.py): `src/hoverboard_base/hoverboard_base/hoverboard_driver.py`
- [Hokuyo LiDAR driver](https://github.com/shiisuii/robbie-at-home/blob/main/src/urg_node/src/urg_node.cpp): `src/urg_node/src/urg_node.cpp`
- [Piper arm control](https://github.com/shiisuii/robbie-at-home/blob/main/jetson_head/scripts/piper_arm_controller.py): `jetson_head/scripts/piper_arm_controller.py`
- [Pan-tilt control](https://github.com/shiisuii/robbie-at-home/blob/main/jetson_head/src/pan_tilt_controller/pan_tilt_controller/pan_tilt_node.py): `jetson_head/src/pan_tilt_controller/pan_tilt_controller/pan_tilt_node.py`
- [Torso lift control](https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_bringup/base_athome_bringup/stepper_controller.py): `src/base_athome_bringup/base_athome_bringup/stepper_controller.py`

### Perception and HRI

- [Voice client](https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_perception/base_athome_perception/voice_client.py): `src/base_athome_perception/base_athome_perception/voice_client.py`
- [Whisper ASR](https://github.com/shiisuii/robbie-at-home/blob/main/jetson_head/src/audio_asr/audio_asr/whisper_node.py): `jetson_head/src/audio_asr/audio_asr/whisper_node.py`
- [Tray verification](https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_skills/base_athome_skills/mission/vlm.py): `src/base_athome_skills/base_athome_skills/mission/vlm.py`
- [Bag and people vision](https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_perception/base_athome_perception/bag_vision.py): `src/base_athome_perception/base_athome_perception/bag_vision.py`
- [Person search](https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_perception/base_athome_perception/person_search.py): `src/base_athome_perception/base_athome_perception/person_search.py`
- [Person matching](https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_perception/base_athome_perception/person_matcher.py): `src/base_athome_perception/base_athome_perception/person_matcher.py`

### Navigation and Missions

- [Mission execution](https://github.com/shiisuii/robbie-at-home/tree/main/src/base_athome_skills/base_athome_skills/mission): `src/base_athome_skills/base_athome_skills/mission`
- [Restaurant node](https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_skills/base_athome_skills/restaurant_node.py): `src/base_athome_skills/base_athome_skills/restaurant_node.py`
- [Restaurant session](https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_skills/base_athome_skills/mission/restaurant_session.py): `src/base_athome_skills/base_athome_skills/mission/restaurant_session.py`
- [Order planning](https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_skills/base_athome_skills/mission/restaurant.py): `src/base_athome_skills/base_athome_skills/mission/restaurant.py`
- [Autonomous navigation](https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_navigation/launch/nav2_bringup.launch.py): `src/base_athome_navigation/launch/nav2_bringup.launch.py`
- [SLAM mapping](https://github.com/shiisuii/robbie-at-home/blob/main/src/base_athome_mapping/launch/slam_2d_mapping.launch.py): `src/base_athome_mapping/launch/slam_2d_mapping.launch.py`

### Simulation

- [Robot simulator](https://github.com/shiisuii/robbie-at-home/blob/main/simulation/base_athome_sim/base_athome_sim/sim_robot.py): `simulation/base_athome_sim/base_athome_sim/sim_robot.py`
- [Gazebo model](https://github.com/shiisuii/robbie-at-home/blob/main/simulation/base_athome_sim/base_athome_sim/gz_model.py): `simulation/base_athome_sim/base_athome_sim/gz_model.py`

### Other components

- **Robot user**

## Connections

- Robot user → Voice client: speaks to (evidence: `README.md`)
- Voice client → Whisper ASR: requests listening (evidence: `src/base_athome_perception/base_athome_perception/voice_client.py`)
- Whisper ASR → Voice client: publishes results (evidence: `jetson_head/src/audio_asr/audio_asr/whisper_node.py`)
- Voice client → Mission execution: supplies speech
- Restaurant node → Restaurant session: runs session (evidence: `src/base_athome_skills/base_athome_skills/restaurant_node.py`)
- Restaurant node → Autonomous navigation: uses Nav2 (evidence: `src/base_athome_skills/base_athome_skills/restaurant_node.py`)
- Restaurant node → Bag and people vision: requests detection (evidence: `src/base_athome_skills/base_athome_skills/restaurant_node.py`)
- Restaurant session → Order planning: uses planning (evidence: `src/base_athome_skills/base_athome_skills/mission/restaurant.py`)
- Order planning → Tray verification: verifies tray (evidence: `src/base_athome_skills/base_athome_skills/mission/restaurant.py`)
- Person search → Person matching: matches candidates (evidence: `src/base_athome_perception/base_athome_perception/person_search.py`)
- Autonomous navigation → Mobile base driver: commands velocity (evidence: `README.md`)
- Hokuyo LiDAR driver → Autonomous navigation: provides scans (evidence: `README.md`)
- SLAM mapping → Autonomous navigation: builds maps
- Mission execution → Autonomous navigation: requests navigation
- Mission execution → Piper arm control: requests manipulation
- Mission execution → Torso lift control: controls lift
- Restaurant node → Pan-tilt control: aims head (evidence: `src/base_athome_skills/base_athome_skills/restaurant_node.py`)
- Robot simulator → Gazebo model: uses model (evidence: `simulation/base_athome_sim/base_athome_sim/sim_robot.py`)
