# mi1nn/satellite-mission-extension-system architecture

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

- Interactive diagram: https://gitdiagram.com/mi1nn/satellite-mission-extension-system
- Repository: https://github.com/mi1nn/satellite-mission-extension-system

## Overview

이 저장소의 중심 제품은 Isaac Sim에서 MRV가 표류하는 MEP를 포획하고 위성에 도킹·분리하는 임무 시뮬레이션과 이를 모니터링하는 대시보드입니다. 주 흐름은 시뮬레이터의 임무 실행에서 포획·도킹·Astrobee 안전 확인으로 진행되고, ROS 2를 통해 상태와 센서 정보가 브리지·대시보드로 전달되어 기록·검증됩니다. SRB의 환경·제어 기반과 학습·실기 연동도 별도 기능으로 표시했습니다. 일부 서브시스템의 구현 파일은 샘플링되지 않아 README와 SOURCE INDEX로 확인되는 관계만 연결했습니다.

Main entry points: [`project/srb/tasks/manipulation/debris_capture/vision_capture_demo.py`](https://github.com/mi1nn/satellite-mission-extension-system/blob/main/project/srb/tasks/manipulation/debris_capture/vision_capture_demo.py) (임무 상태 머신), [`project/scripts/vision_capture.py`](https://github.com/mi1nn/satellite-mission-extension-system/blob/main/project/scripts/vision_capture.py) (시뮬레이터 진입점), [`project/srb/core/env`](https://github.com/mi1nn/satellite-mission-extension-system/tree/main/project/srb/core/env) (시뮬레이션 환경), [`mep_dashboard/backend/app.py`](https://github.com/mi1nn/satellite-mission-extension-system/blob/main/mep_dashboard/backend/app.py) (API·LIVE 수신)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_mission["임무 시뮬레이션"]
  node_simulator["시뮬레이터 진입점<br/>[vision_capture.py]"]
  node_mission_flow["임무 상태 머신"]
  node_mrv_approach["MRV 접근<br/>[mrv_approach.py]"]
  node_vision_capture["MEP 인지·포획<br/>[vision.py]"]
  node_docking["衛星 도킹·분리<br/>[docking_demo.py]"]
  node_astrobee["Astrobee 안전 게이트<br/>[astrobee.py]"]
  node_ros_mission["임무 ROS 인터페이스<br/>[ros_interface.py]"]
end

subgraph group_srb["SRB 기반 기능"]
  node_srb_env["시뮬레이션 환경"]
  node_srb_assets["로봇·장면 자산"]
  node_srb_actions["행동·제어 구성"]
  node_ros_interface["SRB ROS 인터페이스<br/>[ros.py]"]
  node_rl_integrations["강화학습 연동"]
  node_sim_real["시뮬-실기 연동<br/>[hardware.py]"]
end

subgraph group_telemetry["통신·기록"]
  node_bridge["ROS-저장 브리지<br/>[firebase_bridge.py]"]
  node_ros_network{{"ROS 2 DDS"}}
  node_firestore[("Firestore 기록")]
  node_session_video["세션 영상"]
end

subgraph group_dashboard["모니터링 UI"]
  node_backend["API·LIVE 수신<br/>[app.py]"]
  node_frontend["대시보드 화면<br/>[app.js]"]
  node_live_view["LIVE 지도·카메라<br/>[map3d.js]"]
  node_validation["기록 검증 화면<br/>[validation.js]"]
end

node_operator(("임무 운영자"))

node_operator -->|"실행·설정"| node_simulator
node_simulator -->|"실행"| node_mission_flow
node_mission_flow -->|"접근 진행"| node_mrv_approach
node_mission_flow -->|"인지·포획 진행"| node_vision_capture
node_mission_flow -->|"도킹 진행"| node_docking
node_mission_flow -->|"안전 확인"| node_astrobee
node_mission_flow -->|"상태 전달"| node_ros_mission
node_simulator -.->|"환경 사용"| node_srb_env
node_srb_env -.->|"장면 구성"| node_srb_assets
node_srb_env -.->|"행동 구성"| node_srb_actions
node_simulator -->|"ROS 상태 발행"| node_ros_mission
node_ros_mission -->|"상태·센서 전송"| node_ros_network
node_ros_network -->|"텔레메트리 전달"| node_bridge
node_ros_network -->|"LIVE 데이터 전달"| node_backend
node_backend -->|"명령 발행"| node_ros_network
node_bridge -->|"기록"| node_firestore
node_bridge -->|"영상 저장"| node_session_video
node_backend -->|"API 제공"| node_frontend
node_frontend -->|"LIVE 표시"| node_live_view
node_frontend -->|"검증 표시"| node_validation
node_validation -->|"기록 조회"| node_backend
node_validation -->|"영상 조회"| node_session_video
node_ros_interface -->|"환경 토픽 연결"| node_ros_network
node_rl_integrations -.->|"환경 학습·평가"| node_srb_env
node_sim_real -.->|"하드웨어 연동"| node_ros_network

click node_simulator "https://github.com/mi1nn/satellite-mission-extension-system/blob/main/project/scripts/vision_capture.py"
click node_mission_flow "https://github.com/mi1nn/satellite-mission-extension-system/blob/main/project/srb/tasks/manipulation/debris_capture/vision_capture_demo.py"
click node_mrv_approach "https://github.com/mi1nn/satellite-mission-extension-system/blob/main/project/srb/tasks/manipulation/debris_capture/mrv_approach.py"
click node_vision_capture "https://github.com/mi1nn/satellite-mission-extension-system/blob/main/project/srb/tasks/manipulation/debris_capture/vision.py"
click node_docking "https://github.com/mi1nn/satellite-mission-extension-system/blob/main/project/srb/tasks/manipulation/debris_capture/docking_demo.py"
click node_astrobee "https://github.com/mi1nn/satellite-mission-extension-system/blob/main/project/srb/tasks/manipulation/debris_capture/astrobee.py"
click node_ros_mission "https://github.com/mi1nn/satellite-mission-extension-system/blob/main/project/srb/tasks/manipulation/debris_capture/ros_interface.py"
click node_srb_env "https://github.com/mi1nn/satellite-mission-extension-system/tree/main/project/srb/core/env"
click node_srb_assets "https://github.com/mi1nn/satellite-mission-extension-system/tree/main/project/srb/core/asset"
click node_srb_actions "https://github.com/mi1nn/satellite-mission-extension-system/tree/main/project/srb/core/action"
click node_ros_interface "https://github.com/mi1nn/satellite-mission-extension-system/blob/main/project/srb/interfaces/interface/ros.py"
click node_rl_integrations "https://github.com/mi1nn/satellite-mission-extension-system/tree/main/project/srb/integrations"
click node_sim_real "https://github.com/mi1nn/satellite-mission-extension-system/blob/main/project/srb/interfaces/sim_to_real/core/hardware.py"
click node_bridge "https://github.com/mi1nn/satellite-mission-extension-system/blob/main/project/scripts/firebase_bridge.py"
click node_backend "https://github.com/mi1nn/satellite-mission-extension-system/blob/main/mep_dashboard/backend/app.py"
click node_frontend "https://github.com/mi1nn/satellite-mission-extension-system/blob/main/mep_dashboard/frontend/js/app.js"
click node_live_view "https://github.com/mi1nn/satellite-mission-extension-system/blob/main/mep_dashboard/frontend/js/map3d.js"
click node_validation "https://github.com/mi1nn/satellite-mission-extension-system/blob/main/mep_dashboard/frontend/js/validation.js"

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_simulator,node_mission_flow,node_mrv_approach,node_vision_capture,node_docking,node_astrobee,node_ros_mission toneBlue
class node_srb_env,node_srb_assets,node_srb_actions,node_ros_interface,node_rl_integrations,node_sim_real toneAmber
class node_bridge,node_ros_network,node_firestore,node_session_video toneMint
class node_backend,node_frontend,node_live_view,node_validation toneRose
class node_operator toneIndigo
```

## Components

### 임무 시뮬레이션

- [시뮬레이터 진입점](https://github.com/mi1nn/satellite-mission-extension-system/blob/main/project/scripts/vision_capture.py): `project/scripts/vision_capture.py`
- [임무 상태 머신](https://github.com/mi1nn/satellite-mission-extension-system/blob/main/project/srb/tasks/manipulation/debris_capture/vision_capture_demo.py): `project/srb/tasks/manipulation/debris_capture/vision_capture_demo.py`
- [MRV 접근](https://github.com/mi1nn/satellite-mission-extension-system/blob/main/project/srb/tasks/manipulation/debris_capture/mrv_approach.py): `project/srb/tasks/manipulation/debris_capture/mrv_approach.py`
- [MEP 인지·포획](https://github.com/mi1nn/satellite-mission-extension-system/blob/main/project/srb/tasks/manipulation/debris_capture/vision.py): `project/srb/tasks/manipulation/debris_capture/vision.py`
- [衛星 도킹·분리](https://github.com/mi1nn/satellite-mission-extension-system/blob/main/project/srb/tasks/manipulation/debris_capture/docking_demo.py): `project/srb/tasks/manipulation/debris_capture/docking_demo.py`
- [Astrobee 안전 게이트](https://github.com/mi1nn/satellite-mission-extension-system/blob/main/project/srb/tasks/manipulation/debris_capture/astrobee.py): `project/srb/tasks/manipulation/debris_capture/astrobee.py`
- [임무 ROS 인터페이스](https://github.com/mi1nn/satellite-mission-extension-system/blob/main/project/srb/tasks/manipulation/debris_capture/ros_interface.py): `project/srb/tasks/manipulation/debris_capture/ros_interface.py`

### SRB 기반 기능

- [시뮬레이션 환경](https://github.com/mi1nn/satellite-mission-extension-system/tree/main/project/srb/core/env): `project/srb/core/env`
- [로봇·장면 자산](https://github.com/mi1nn/satellite-mission-extension-system/tree/main/project/srb/core/asset): `project/srb/core/asset`
- [행동·제어 구성](https://github.com/mi1nn/satellite-mission-extension-system/tree/main/project/srb/core/action): `project/srb/core/action`
- [SRB ROS 인터페이스](https://github.com/mi1nn/satellite-mission-extension-system/blob/main/project/srb/interfaces/interface/ros.py): `project/srb/interfaces/interface/ros.py`
- [강화학습 연동](https://github.com/mi1nn/satellite-mission-extension-system/tree/main/project/srb/integrations): `project/srb/integrations`
- [시뮬-실기 연동](https://github.com/mi1nn/satellite-mission-extension-system/blob/main/project/srb/interfaces/sim_to_real/core/hardware.py): `project/srb/interfaces/sim_to_real/core/hardware.py`

### 통신·기록

- [ROS-저장 브리지](https://github.com/mi1nn/satellite-mission-extension-system/blob/main/project/scripts/firebase_bridge.py): `project/scripts/firebase_bridge.py`
- **ROS 2 DDS**
- **Firestore 기록**
- **세션 영상**

### 모니터링 UI

- [API·LIVE 수신](https://github.com/mi1nn/satellite-mission-extension-system/blob/main/mep_dashboard/backend/app.py): `mep_dashboard/backend/app.py`
- [대시보드 화면](https://github.com/mi1nn/satellite-mission-extension-system/blob/main/mep_dashboard/frontend/js/app.js): `mep_dashboard/frontend/js/app.js`
- [LIVE 지도·카메라](https://github.com/mi1nn/satellite-mission-extension-system/blob/main/mep_dashboard/frontend/js/map3d.js): `mep_dashboard/frontend/js/map3d.js`
- [기록 검증 화면](https://github.com/mi1nn/satellite-mission-extension-system/blob/main/mep_dashboard/frontend/js/validation.js): `mep_dashboard/frontend/js/validation.js`

### Other components

- **임무 운영자**

## Connections

- 임무 운영자 → 시뮬레이터 진입점: 실행·설정 (evidence: `README.md`)
- 시뮬레이터 진입점 → 임무 상태 머신: 실행 (evidence: `README.md`)
- 임무 상태 머신 → MRV 접근: 접근 진행 (evidence: `project/srb/tasks/manipulation/debris_capture/vision_capture_demo.py`)
- 임무 상태 머신 → MEP 인지·포획: 인지·포획 진행 (evidence: `project/srb/tasks/manipulation/debris_capture/vision_capture_demo.py`)
- 임무 상태 머신 → 衛星 도킹·분리: 도킹 진행 (evidence: `project/srb/tasks/manipulation/debris_capture/vision_capture_demo.py`)
- 임무 상태 머신 → Astrobee 안전 게이트: 안전 확인 (evidence: `project/srb/tasks/manipulation/debris_capture/vision_capture_demo.py`)
- 임무 상태 머신 → 임무 ROS 인터페이스: 상태 전달 (evidence: `project/srb/tasks/manipulation/debris_capture/vision_capture_demo.py`)
- 시뮬레이터 진입점 → 시뮬레이션 환경: 환경 사용
- 시뮬레이션 환경 → 로봇·장면 자산: 장면 구성
- 시뮬레이션 환경 → 행동·제어 구성: 행동 구성
- 시뮬레이터 진입점 → 임무 ROS 인터페이스: ROS 상태 발행 (evidence: `README.md`)
- 임무 ROS 인터페이스 → ROS 2 DDS: 상태·센서 전송 (evidence: `README.md`)
- ROS 2 DDS → ROS-저장 브리지: 텔레메트리 전달 (evidence: `README.md`)
- ROS 2 DDS → API·LIVE 수신: LIVE 데이터 전달 (evidence: `README.md`)
- API·LIVE 수신 → ROS 2 DDS: 명령 발행 (evidence: `README.md`)
- ROS-저장 브리지 → Firestore 기록: 기록 (evidence: `README.md`)
- ROS-저장 브리지 → 세션 영상: 영상 저장 (evidence: `README.md`)
- API·LIVE 수신 → 대시보드 화면: API 제공 (evidence: `README.md`)
- 대시보드 화면 → LIVE 지도·카메라: LIVE 표시 (evidence: `mep_dashboard/frontend/js/app.js`)
- 대시보드 화면 → 기록 검증 화면: 검증 표시 (evidence: `mep_dashboard/frontend/js/app.js`)
- 기록 검증 화면 → API·LIVE 수신: 기록 조회 (evidence: `README.md`)
- 기록 검증 화면 → 세션 영상: 영상 조회 (evidence: `README.md`)
- SRB ROS 인터페이스 → ROS 2 DDS: 환경 토픽 연결 (evidence: `project/srb/interfaces/interface/ros.py`)
- 강화학습 연동 → 시뮬레이션 환경: 환경 학습·평가
- 시뮬-실기 연동 → ROS 2 DDS: 하드웨어 연동
