# chrisleeum/dct architecture

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

- Interactive diagram: https://gitdiagram.com/chrisleeum/dct
- Repository: https://github.com/chrisleeum/dct
- Video tour (about a minute): https://gitdiagram.com/chrisleeum/dct/video

## Overview

This ROS 2 demo connects an Isaac Sim hospital scene to a perception-and-navigation stack. The main workflow converts simulated lidar points to a scan, detects traversable objects in camera images, removes corresponding scan returns, and sends the filtered and removed scans to NeuPAN. NeuPAN combines scans, localization, and goals to plan and publish velocity commands; its traversal mode supports contact-tolerant passage, and a visualization manager publishes planner markers. The launch wiring and README establish the overall stack; unsampled implementation details are not inferred.

Main entry points: [`isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/neupan_node.py`](https://github.com/chrisleeum/dct/blob/main/isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/neupan_node.py) (NeuPAN Planner Node), [`isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/scan_removal_node.py`](https://github.com/chrisleeum/dct/blob/main/isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/scan_removal_node.py) (Scan Removal), [`isaac_dct_ws/src/dct_isaac_ros2/launch/isaac_dct_hospital.launch.py`](https://github.com/chrisleeum/dct/blob/main/isaac_dct_ws/src/dct_isaac_ros2/launch/isaac_dct_hospital.launch.py) (Hospital Launch), [`DCT_hospital_demo.usd`](https://github.com/chrisleeum/dct/blob/main/DCT_hospital_demo.usd) (Isaac Sim)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_simulation["Simulation Inputs"]
  node_isaac["Isaac Sim"]
  node_launch["Hospital Launch"]
  node_scan_converter["Pointcloud Converter"]
end

subgraph group_perception["DCT Perception"]
  node_scan_removal["Scan Removal"]
  node_groundingdino["GroundingDINO"]
  node_vlm["OpenAI VLM"]
  node_filtered_scan["Filtered Scan"]
  node_removed_scan["Removed Scan"]
  node_dct_state["DCT State"]
  node_pause_state["Pause Signal"]
end

subgraph group_navigation["NeuPAN Navigation"]
  node_planner["NeuPAN Planner Node<br/>[neupan_node.py]"]
  node_neupan_lib["NeuPAN Library"]
  node_nav_config["Planner Configuration"]
  node_commands["Velocity Commands"]
  node_plans["Plan Outputs"]
end

subgraph group_presentation["Visualization"]
  node_visualization["Visualization Manager"]
  node_markers["RViz Markers"]
  node_rviz["RViz<br/>[isaac_sim.rviz]"]
end

node_operator(("Operator"))

node_operator -->|"starts stack"| node_launch
node_launch -->|"launches"| node_scan_converter
node_launch -->|"launches"| node_scan_removal
node_launch -->|"launches"| node_planner
node_launch -->|"launches"| node_rviz
node_isaac -->|"provides lidar points"| node_scan_converter
node_scan_converter -->|"publishes raw scan"| node_scan_removal
node_isaac -->|"provides camera data"| node_scan_removal
node_scan_removal -->|"runs detection"| node_groundingdino
node_scan_removal -.->|"optional validation"| node_vlm
node_scan_removal -->|"publishes"| node_filtered_scan
node_scan_removal -->|"publishes"| node_removed_scan
node_scan_removal -->|"publishes"| node_dct_state
node_scan_removal -->|"publishes"| node_pause_state
node_filtered_scan -->|"feeds planning"| node_planner
node_removed_scan -->|"feeds planning"| node_planner
node_dct_state -->|"signals activity"| node_planner
node_pause_state -->|"gates output"| node_planner
node_isaac -->|"provides odometry"| node_planner
node_operator -->|"sets goal"| node_planner
node_nav_config -.->|"configures"| node_planner
node_planner -->|"calls planner"| node_neupan_lib
node_planner -->|"publishes"| node_commands
node_planner -->|"publishes"| node_plans
node_planner -->|"delegates markers"| node_visualization
node_visualization -->|"publishes"| node_markers
node_markers -.->|"displays"| node_rviz
node_commands -->|"controls robot"| node_isaac

click node_isaac "https://github.com/chrisleeum/dct/blob/main/DCT_hospital_demo.usd"
click node_launch "https://github.com/chrisleeum/dct/blob/main/isaac_dct_ws/src/dct_isaac_ros2/launch/isaac_dct_hospital.launch.py"
click node_scan_converter "https://github.com/chrisleeum/dct/blob/main/isaac_dct_ws/src/dct_isaac_ros2/launch/isaac_dct_hospital.launch.py"
click node_scan_removal "https://github.com/chrisleeum/dct/blob/main/isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/scan_removal_node.py"
click node_planner "https://github.com/chrisleeum/dct/blob/main/isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/neupan_node.py"
click node_nav_config "https://github.com/chrisleeum/dct/blob/main/isaac_dct_ws/src/dct_isaac_ros2/config/neupan_config/neupan_isaac_jackal_hospital.yaml"
click node_visualization "https://github.com/chrisleeum/dct/blob/main/isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/visualization_manager.py"
click node_rviz "https://github.com/chrisleeum/dct/blob/main/isaac_dct_ws/src/dct_isaac_ros2/rviz/isaac_sim.rviz"

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_isaac,node_launch,node_scan_converter toneBlue
class node_scan_removal,node_groundingdino,node_vlm,node_filtered_scan,node_removed_scan,node_dct_state,node_pause_state toneAmber
class node_planner,node_neupan_lib,node_nav_config,node_commands,node_plans toneMint
class node_visualization,node_markers,node_rviz toneRose
class node_operator toneIndigo
```

## Components

### Simulation Inputs

- [Isaac Sim](https://github.com/chrisleeum/dct/blob/main/DCT_hospital_demo.usd): `DCT_hospital_demo.usd`
- [Hospital Launch](https://github.com/chrisleeum/dct/blob/main/isaac_dct_ws/src/dct_isaac_ros2/launch/isaac_dct_hospital.launch.py): `isaac_dct_ws/src/dct_isaac_ros2/launch/isaac_dct_hospital.launch.py`
- [Pointcloud Converter](https://github.com/chrisleeum/dct/blob/main/isaac_dct_ws/src/dct_isaac_ros2/launch/isaac_dct_hospital.launch.py): `isaac_dct_ws/src/dct_isaac_ros2/launch/isaac_dct_hospital.launch.py`

### DCT Perception

- [Scan Removal](https://github.com/chrisleeum/dct/blob/main/isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/scan_removal_node.py): `isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/scan_removal_node.py`
- **GroundingDINO**
- **OpenAI VLM**
- **Filtered Scan**
- **Removed Scan**
- **DCT State**
- **Pause Signal**

### NeuPAN Navigation

- [NeuPAN Planner Node](https://github.com/chrisleeum/dct/blob/main/isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/neupan_node.py): `isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/neupan_node.py`
- **NeuPAN Library**
- [Planner Configuration](https://github.com/chrisleeum/dct/blob/main/isaac_dct_ws/src/dct_isaac_ros2/config/neupan_config/neupan_isaac_jackal_hospital.yaml): `isaac_dct_ws/src/dct_isaac_ros2/config/neupan_config/neupan_isaac_jackal_hospital.yaml`
- **Velocity Commands**
- **Plan Outputs**

### Visualization

- [Visualization Manager](https://github.com/chrisleeum/dct/blob/main/isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/visualization_manager.py): `isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/visualization_manager.py`
- **RViz Markers**
- [RViz](https://github.com/chrisleeum/dct/blob/main/isaac_dct_ws/src/dct_isaac_ros2/rviz/isaac_sim.rviz): `isaac_dct_ws/src/dct_isaac_ros2/rviz/isaac_sim.rviz`

### Other components

- **Operator**

## Connections

- Operator → Hospital Launch: starts stack (evidence: `README.md`)
- Hospital Launch → Pointcloud Converter: launches (evidence: `isaac_dct_ws/src/dct_isaac_ros2/launch/isaac_dct_hospital.launch.py`)
- Hospital Launch → Scan Removal: launches (evidence: `isaac_dct_ws/src/dct_isaac_ros2/launch/isaac_dct_hospital.launch.py`)
- Hospital Launch → NeuPAN Planner Node: launches (evidence: `isaac_dct_ws/src/dct_isaac_ros2/launch/isaac_dct_hospital.launch.py`)
- Hospital Launch → RViz: launches (evidence: `isaac_dct_ws/src/dct_isaac_ros2/launch/isaac_dct_hospital.launch.py`)
- Isaac Sim → Pointcloud Converter: provides lidar points (evidence: `README.md`)
- Pointcloud Converter → Scan Removal: publishes raw scan (evidence: `isaac_dct_ws/src/dct_isaac_ros2/launch/isaac_dct_hospital.launch.py`)
- Isaac Sim → Scan Removal: provides camera data (evidence: `README.md`)
- Scan Removal → GroundingDINO: runs detection (evidence: `isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/scan_removal_node.py`)
- Scan Removal → OpenAI VLM: optional validation (evidence: `isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/scan_removal_node.py`)
- Scan Removal → Filtered Scan: publishes (evidence: `isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/scan_removal_node.py`)
- Scan Removal → Removed Scan: publishes (evidence: `isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/scan_removal_node.py`)
- Scan Removal → DCT State: publishes (evidence: `isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/scan_removal_node.py`)
- Scan Removal → Pause Signal: publishes (evidence: `isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/scan_removal_node.py`)
- Filtered Scan → NeuPAN Planner Node: feeds planning (evidence: `isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/neupan_node.py`)
- Removed Scan → NeuPAN Planner Node: feeds planning (evidence: `isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/neupan_node.py`)
- DCT State → NeuPAN Planner Node: signals activity (evidence: `isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/neupan_node.py`)
- Pause Signal → NeuPAN Planner Node: gates output (evidence: `isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/neupan_node.py`)
- Isaac Sim → NeuPAN Planner Node: provides odometry (evidence: `README.md`)
- Operator → NeuPAN Planner Node: sets goal (evidence: `README.md`)
- Planner Configuration → NeuPAN Planner Node: configures
- NeuPAN Planner Node → NeuPAN Library: calls planner (evidence: `isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/neupan_node.py`)
- NeuPAN Planner Node → Velocity Commands: publishes (evidence: `isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/neupan_node.py`)
- NeuPAN Planner Node → Plan Outputs: publishes (evidence: `isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/neupan_node.py`)
- NeuPAN Planner Node → Visualization Manager: delegates markers (evidence: `isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/neupan_node.py`)
- Visualization Manager → RViz Markers: publishes (evidence: `isaac_dct_ws/src/dct_isaac_ros2/dct_isaac_ros2/visualization_manager.py`)
- RViz Markers → RViz: displays
- Velocity Commands → Isaac Sim: controls robot (evidence: `README.md`)
