How yankailab/openkai works
OpenKAI is a configurable C++ framework for unmanned vehicles and robots, built around a modular, multithreaded runtime. The principal workflow is: an operator supplies a JSON configuration, the application loads it, creates and initializes configured modules, links them, and starts them; those modules can then support sensing, navigation, control, and device communication. The tree and README document broad capabilities, but most implementation links were not sampled, so those connections are shown as unverified rather than asserted.
Main entry points: Instance Module Manager · viewer Web Viewers · main.cpp Application · _ModuleBase.cpp Module Lifecycle
Components 21
Runtime
- Application
src/main.cpp - Module Manager
src/Instance - Module Lifecycle
src/Base/_ModuleBase.cpp - Threading
src/Base/_Thread.cpp - Data Objects
src/DataObject
Sensing and Perception
- RealSense
html/viewer/_RealSense/js/viewer3D.js - Orbbec
src/Vision/RGBD/_Orbbec.cpp - Livox LiDAR
src/Sensor/LiDAR/_Livox2.cpp - LeddarVu
src/Sensor/Distance/_LeddarVu.cpp - Depth Detection
src/Detector/_YOLO26depthEstONNX.cpp - GLIM SLAM
src/SLAM/_GLIM.cpp
Navigation and Control
- Autopilot Base
src/Autopilot/_AutopilotBase.cpp - ArduPilot MAVLink
src/Autopilot/FC/ArduPilot/_APmav_base.cpp - Geofence
src/Navigation/_GeoFence.cpp - Actuators
src/Actuator
Interfaces and Visualization
- MAVLink Protocol
src/Protocol/_Mavlink.cpp - TCP Client
src/IO/_TCPclient.cpp - Web Viewers
html/viewer - OctGrid Viewer
html/viewer/_SelectableOctGrid/js/main.js - GLIM Web Viewer
src/UI/Viewer/Web/_WebGLIM.cpp
Other components
- Operator
Connections 19
- Operator → Application: provides JSON
src/main.cpp - Application → Module Manager: loads and starts
src/main.cpp - Module Manager → Module Lifecycle: manages lifecycle
- Module Manager → Threading: runs modules
- Module Manager → Data Objects: configures modules
- Module Manager → RealSense: configures
- Module Manager → Orbbec: configures
- Module Manager → Livox LiDAR: configures
- Module Manager → LeddarVu: configures
- Module Manager → Depth Detection: configures
- Module Manager → GLIM SLAM: configures
- Module Manager → Autopilot Base: configures
- Module Manager → Geofence: configures
- Module Manager → Actuators: configures
- Module Manager → MAVLink Protocol: configures
- Module Manager → TCP Client: configures
- Module Manager → Web Viewers: configures
- Web Viewers → OctGrid Viewer: includes viewer
html/viewer/_SelectableOctGrid/js/main.js - Web Viewers → GLIM Web Viewer: supports visualization