# mrrp-lab/colman architecture

> Architecture diagram of the GitHub repository mrrp-lab/colman, 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/mrrp-lab/colman
- Repository: https://github.com/mrrp-lab/colman

## Overview

Colman is a ROS 2 collaborative-manipulation project: its central demonstrated workflow waits for robot state, observes settled tag transforms, plans arm motion, and operates a vacuum gripper to pick and place objects. The repository also includes perception, audio, robot-description, MoveIt, and Gazebo/bringup capabilities. The motion workflow’s calls are evidenced in excerpts; other subsystem connections are shown only where documented, so some launch relationships remain unverified.

Main entry points: [`src/colman_motion/colman_motion/pick_and_place.py`](https://github.com/mrrp-lab/colman/blob/main/src/colman_motion/colman_motion/pick_and_place.py) (Pick And Place), [`src/colman_motion/colman_motion/demo_choose.py`](https://github.com/mrrp-lab/colman/blob/main/src/colman_motion/colman_motion/demo_choose.py) (Tag Sequence Demo), [`src/colman_motion/colman_motion/demo_turns.py`](https://github.com/mrrp-lab/colman/blob/main/src/colman_motion/colman_motion/demo_turns.py) (Turn Sequence Demo), [`src/colman_motion/colman_motion/vacuum_control.py`](https://github.com/mrrp-lab/colman/blob/main/src/colman_motion/colman_motion/vacuum_control.py) (Vacuum Gripper)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_bringup["Robot Bringup"]
  node_bringup_launch["ROS Bringup<br/>[bringup.launch.py]"]
  node_sim_launch["Gazebo Simulation<br/>[sim.launch.py]"]
  node_robot_model["Robot Description"]
  node_moveit_launch["MoveIt Launch<br/>[moveit.launch.py]"]
  node_moveit_config["UR MoveIt Config"]
  node_gripper_model["Gripper Description<br/>[demo.launch.py]"]
end

subgraph group_perception["Perception"]
  node_camera["Camera Publisher"]
  node_camera_info["Camera Info"]
  node_detection["Object Detection<br/>[detection.py]"]
end

subgraph group_motion["Manipulation"]
  node_robot_ready["Robot Readiness<br/>[robot_ready.py]"]
  node_pick_place["Pick And Place<br/>[pick_and_place.py]"]
  node_demo_choose["Tag Sequence Demo<br/>[demo_choose.py]"]
  node_demo_turns["Turn Sequence Demo<br/>[demo_turns.py]"]
  node_arm_control["Arm Control<br/>[arm_control.py]"]
  node_scene_manager["Planning Scene<br/>[scene_manager.py]"]
  node_tag_lookup["Tag Transform Lookup<br/>[tag_lookup.py]"]
  node_vacuum["Vacuum Gripper<br/>[vacuum_control.py]"]
end

subgraph group_audio["Audio"]
  node_speech_input["Speech Recognition"]
  node_llm["LLM Text Source"]
  node_tts["ElevenLabs TTS<br/>[eleven_labs.py]"]
end

node_operator(("Operator"))
node_speech_service{{"ElevenLabs Service"}}
node_robot_state{{"Joint State Publisher"}}
node_io_controller{{"Robot IO Controller"}}

node_operator -.->|"starts simulation"| node_sim_launch
node_operator -.->|"starts robot"| node_bringup_launch
node_speech_input -.-> node_tts
node_llm -->|"publishes text"| node_tts
node_tts -->|"synthesizes speech"| node_speech_service
node_pick_place -->|"waits for state"| node_robot_ready
node_pick_place -->|"commands motion"| node_arm_control
node_pick_place -->|"updates scene"| node_scene_manager
node_pick_place -->|"reads tag poses"| node_tag_lookup
node_pick_place -->|"controls gripper"| node_vacuum
node_demo_choose -->|"waits for state"| node_robot_ready
node_demo_choose -->|"commands motion"| node_arm_control
node_demo_choose -->|"updates scene"| node_scene_manager
node_demo_choose -->|"reads tag poses"| node_tag_lookup
node_demo_choose -->|"controls gripper"| node_vacuum
node_demo_turns -->|"waits for state"| node_robot_ready
node_demo_turns -->|"commands motion"| node_arm_control
node_demo_turns -->|"updates scene"| node_scene_manager
node_demo_turns -->|"reads tag poses"| node_tag_lookup
node_demo_turns -->|"controls gripper"| node_vacuum
node_robot_state -.->|"publishes joint state"| node_robot_ready
node_vacuum -->|"sets digital output"| node_io_controller
node_bringup_launch -.-> node_moveit_launch
node_moveit_launch -.-> node_moveit_config
node_camera -.-> node_detection

click node_bringup_launch "https://github.com/mrrp-lab/colman/blob/main/src/colman_bringup/colman_bringup/launch/bringup.launch.py"
click node_sim_launch "https://github.com/mrrp-lab/colman/blob/main/src/colman_bringup/colman_bringup/launch/sim.launch.py"
click node_robot_model "https://github.com/mrrp-lab/colman/tree/main/src/colman_description"
click node_moveit_launch "https://github.com/mrrp-lab/colman/blob/main/src/colman_bringup/colman_bringup/launch/moveit.launch.py"
click node_moveit_config "https://github.com/mrrp-lab/colman/blob/main/src/colman_moveit_config/launch/ur_moveit.launch.py"
click node_gripper_model "https://github.com/mrrp-lab/colman/blob/main/src/gripper_description/gripper_description/launch/demo.launch.py"
click node_camera "https://github.com/mrrp-lab/colman/blob/main/src/colman_perception/colman_perception/camera_publisher.py"
click node_camera_info "https://github.com/mrrp-lab/colman/blob/main/src/colman_perception/colman_perception/camera_info_republisher.py"
click node_detection "https://github.com/mrrp-lab/colman/blob/main/src/colman_perception/colman_perception/detection.py"
click node_speech_input "https://github.com/mrrp-lab/colman/blob/main/src/colman_audio_input/colman_audio_input/speech_to_text_node.py"
click node_tts "https://github.com/mrrp-lab/colman/blob/main/src/colman_audio_output/eleven_labs.py"
click node_robot_ready "https://github.com/mrrp-lab/colman/blob/main/src/colman_motion/colman_motion/robot_ready.py"
click node_pick_place "https://github.com/mrrp-lab/colman/blob/main/src/colman_motion/colman_motion/pick_and_place.py"
click node_demo_choose "https://github.com/mrrp-lab/colman/blob/main/src/colman_motion/colman_motion/demo_choose.py"
click node_demo_turns "https://github.com/mrrp-lab/colman/blob/main/src/colman_motion/colman_motion/demo_turns.py"
click node_arm_control "https://github.com/mrrp-lab/colman/blob/main/src/colman_motion/colman_motion/arm_control.py"
click node_scene_manager "https://github.com/mrrp-lab/colman/blob/main/src/colman_motion/colman_motion/scene_manager.py"
click node_tag_lookup "https://github.com/mrrp-lab/colman/blob/main/src/colman_motion/colman_motion/tag_lookup.py"
click node_vacuum "https://github.com/mrrp-lab/colman/blob/main/src/colman_motion/colman_motion/vacuum_control.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_bringup_launch,node_sim_launch,node_robot_model,node_moveit_launch,node_moveit_config,node_gripper_model toneBlue
class node_camera,node_camera_info,node_detection toneAmber
class node_robot_ready,node_pick_place,node_demo_choose,node_demo_turns,node_arm_control,node_scene_manager,node_tag_lookup,node_vacuum toneMint
class node_speech_input,node_llm,node_tts toneRose
class node_operator,node_speech_service,node_robot_state,node_io_controller toneIndigo
```

## Components

### Robot Bringup

- [ROS Bringup](https://github.com/mrrp-lab/colman/blob/main/src/colman_bringup/colman_bringup/launch/bringup.launch.py): `src/colman_bringup/colman_bringup/launch/bringup.launch.py`
- [Gazebo Simulation](https://github.com/mrrp-lab/colman/blob/main/src/colman_bringup/colman_bringup/launch/sim.launch.py): `src/colman_bringup/colman_bringup/launch/sim.launch.py`
- [Robot Description](https://github.com/mrrp-lab/colman/tree/main/src/colman_description): `src/colman_description`
- [MoveIt Launch](https://github.com/mrrp-lab/colman/blob/main/src/colman_bringup/colman_bringup/launch/moveit.launch.py): `src/colman_bringup/colman_bringup/launch/moveit.launch.py`
- [UR MoveIt Config](https://github.com/mrrp-lab/colman/blob/main/src/colman_moveit_config/launch/ur_moveit.launch.py): `src/colman_moveit_config/launch/ur_moveit.launch.py`
- [Gripper Description](https://github.com/mrrp-lab/colman/blob/main/src/gripper_description/gripper_description/launch/demo.launch.py): `src/gripper_description/gripper_description/launch/demo.launch.py`

### Perception

- [Camera Publisher](https://github.com/mrrp-lab/colman/blob/main/src/colman_perception/colman_perception/camera_publisher.py): `src/colman_perception/colman_perception/camera_publisher.py`
- [Camera Info](https://github.com/mrrp-lab/colman/blob/main/src/colman_perception/colman_perception/camera_info_republisher.py): `src/colman_perception/colman_perception/camera_info_republisher.py`
- [Object Detection](https://github.com/mrrp-lab/colman/blob/main/src/colman_perception/colman_perception/detection.py): `src/colman_perception/colman_perception/detection.py`

### Manipulation

- [Robot Readiness](https://github.com/mrrp-lab/colman/blob/main/src/colman_motion/colman_motion/robot_ready.py): `src/colman_motion/colman_motion/robot_ready.py`
- [Pick And Place](https://github.com/mrrp-lab/colman/blob/main/src/colman_motion/colman_motion/pick_and_place.py): `src/colman_motion/colman_motion/pick_and_place.py`
- [Tag Sequence Demo](https://github.com/mrrp-lab/colman/blob/main/src/colman_motion/colman_motion/demo_choose.py): `src/colman_motion/colman_motion/demo_choose.py`
- [Turn Sequence Demo](https://github.com/mrrp-lab/colman/blob/main/src/colman_motion/colman_motion/demo_turns.py): `src/colman_motion/colman_motion/demo_turns.py`
- [Arm Control](https://github.com/mrrp-lab/colman/blob/main/src/colman_motion/colman_motion/arm_control.py): `src/colman_motion/colman_motion/arm_control.py`
- [Planning Scene](https://github.com/mrrp-lab/colman/blob/main/src/colman_motion/colman_motion/scene_manager.py): `src/colman_motion/colman_motion/scene_manager.py`
- [Tag Transform Lookup](https://github.com/mrrp-lab/colman/blob/main/src/colman_motion/colman_motion/tag_lookup.py): `src/colman_motion/colman_motion/tag_lookup.py`
- [Vacuum Gripper](https://github.com/mrrp-lab/colman/blob/main/src/colman_motion/colman_motion/vacuum_control.py): `src/colman_motion/colman_motion/vacuum_control.py`

### Audio

- [Speech Recognition](https://github.com/mrrp-lab/colman/blob/main/src/colman_audio_input/colman_audio_input/speech_to_text_node.py): `src/colman_audio_input/colman_audio_input/speech_to_text_node.py`
- **LLM Text Source**
- [ElevenLabs TTS](https://github.com/mrrp-lab/colman/blob/main/src/colman_audio_output/eleven_labs.py): `src/colman_audio_output/eleven_labs.py`

### Other components

- **Operator**
- **ElevenLabs Service**
- **Joint State Publisher**
- **Robot IO Controller**

## Connections

- Operator → Gazebo Simulation: starts simulation
- Operator → ROS Bringup: starts robot
- Speech Recognition → ElevenLabs TTS
- LLM Text Source → ElevenLabs TTS: publishes text (evidence: `src/colman_audio_output/eleven_labs.py`)
- ElevenLabs TTS → ElevenLabs Service: synthesizes speech (evidence: `src/colman_audio_output/eleven_labs.py`)
- Pick And Place → Robot Readiness: waits for state (evidence: `src/colman_motion/colman_motion/pick_and_place.py`)
- Pick And Place → Arm Control: commands motion (evidence: `src/colman_motion/colman_motion/pick_and_place.py`)
- Pick And Place → Planning Scene: updates scene (evidence: `src/colman_motion/colman_motion/pick_and_place.py`)
- Pick And Place → Tag Transform Lookup: reads tag poses (evidence: `src/colman_motion/colman_motion/pick_and_place.py`)
- Pick And Place → Vacuum Gripper: controls gripper (evidence: `src/colman_motion/colman_motion/pick_and_place.py`)
- Tag Sequence Demo → Robot Readiness: waits for state (evidence: `src/colman_motion/colman_motion/demo_choose.py`)
- Tag Sequence Demo → Arm Control: commands motion (evidence: `src/colman_motion/colman_motion/demo_choose.py`)
- Tag Sequence Demo → Planning Scene: updates scene (evidence: `src/colman_motion/colman_motion/demo_choose.py`)
- Tag Sequence Demo → Tag Transform Lookup: reads tag poses (evidence: `src/colman_motion/colman_motion/demo_choose.py`)
- Tag Sequence Demo → Vacuum Gripper: controls gripper (evidence: `src/colman_motion/colman_motion/demo_choose.py`)
- Turn Sequence Demo → Robot Readiness: waits for state (evidence: `src/colman_motion/colman_motion/demo_turns.py`)
- Turn Sequence Demo → Arm Control: commands motion (evidence: `src/colman_motion/colman_motion/demo_turns.py`)
- Turn Sequence Demo → Planning Scene: updates scene (evidence: `src/colman_motion/colman_motion/demo_turns.py`)
- Turn Sequence Demo → Tag Transform Lookup: reads tag poses (evidence: `src/colman_motion/colman_motion/demo_turns.py`)
- Turn Sequence Demo → Vacuum Gripper: controls gripper (evidence: `src/colman_motion/colman_motion/demo_turns.py`)
- Joint State Publisher → Robot Readiness: publishes joint state
- Vacuum Gripper → Robot IO Controller: sets digital output (evidence: `src/colman_motion/colman_motion/vacuum_control.py`)
- ROS Bringup → MoveIt Launch
- MoveIt Launch → UR MoveIt Config
- Camera Publisher → Object Detection
