How palmacitra/tni-diwas works
TNI-DIWAS is presented as a sovereign ISR fusion platform: sensor feeds enter imaging and fusion processing, producing a tactical picture for operator-facing APIs, AR/mobile outputs, and external integrations. The sampled Rust code confirms the server routes, imaging pipeline stages, track store, fusion ingestion, AR frame construction, and Palantir client operations. Several README capabilities are documented but their implementation was not sampled; links for those capabilities cite the README. The fusion implementation shown is explicitly a stub for most report types.
Main entry points: fusion/mod.rs Tactical Picture · imaging/mod.rs Imaging Pipeline · api REST And WebSocket API · palantir/mod.rs Foundry Client
Components 17
Sensor Processing
- Imaging Pipeline
src/imaging/mod.rs - Imaging Algorithms
src/imaging
Fusion Core
- Fusion Engine
src/fusion/mod.rs - Tactical Picture
src/fusion/mod.rs - Tracking And Threat
src/fusion - PostGIS Enrichment
Operator Delivery
- DIWAS Server
src/main.rs - REST And WebSocket API
src/api - AR Frame Builder
src/ar/mod.rs - Sentinel Alert Bus
External Integration
- Foundry Client
src/palantir/mod.rs - ESRI ArcGIS
- STANAG 4559
- LAPAN/BRIN API
Other components
- Sensor Feeds
- Field Devices
- Foundry AIP
Connections 18
- Sensor Feeds → Imaging Pipeline: supply frames
README.md - Imaging Pipeline → Imaging Algorithms: runs stages
src/imaging/mod.rs - Sensor Feeds → Fusion Engine: submit reports
README.md - Fusion Engine → Tactical Picture: upserts tracks
src/fusion/mod.rs - Fusion Engine → Tracking And Threat: uses algorithms
- DIWAS Server → REST And WebSocket API: routes requests
src/main.rs - REST And WebSocket API → Tactical Picture: serves track state
- Tactical Picture → AR Frame Builder: provides tracks
src/ar/mod.rs - AR Frame Builder → Field Devices: delivers overlays
README.md - Tactical Picture → Sentinel Alert Bus: distributes alerts
README.md - REST And WebSocket API → Field Devices: serves field clients
README.md - Foundry Client → Foundry AIP: pushes tracks
src/palantir/mod.rs - Foundry Client → Foundry AIP: queries agent
src/palantir/mod.rs - Imaging Pipeline → ESRI ArcGIS: exports GeoJSON
README.md - Tactical Picture → Foundry Client: supplies fused tracks
src/palantir/mod.rs - Sensor Feeds → STANAG 4559: exchanges data
README.md - Sensor Feeds → LAPAN/BRIN API: receives imagery
README.md - Tactical Picture → PostGIS Enrichment: enriches tracks
README.md