How welee666/openhd works
OpenHD is the device-side core of a low-latency UAV link: it carries HD video, two-way UAV telemetry, audio, and RC control over a specially configured Wi-Fi broadcast link. The runtime starts in an air or ground role, then coordinates radio networking, video capture/transport, and MAVLink telemetry. The tree also shows camera recording, link management, networking helpers, and persistent settings. Several subsystem relationships are documented only at the product level; those links are marked dashed rather than presented as inspected call paths.
Main entry points: main.cpp Runtime entry · ohd_video_air.cpp Air and ground video · wb_link_manager.cpp Radio link manager · wb_link.cpp Wireless link
Components 20
Runtime and settings
- Runtime entry
OpenHD/main.cpp - Settings and profiles
OpenHD/ohd_common/src/openhd_config.cpp
Radio networking
- Radio link manager
OpenHD/ohd_interface/src/wb_link_manager.cpp - Wireless link
OpenHD/ohd_interface/src/wb_link.cpp - Wi-Fi discovery
OpenHD/ohd_interface/src/wifi_card_discovery.cpp - Ethernet manager
OpenHD/ohd_interface/src/ethernet_manager.cpp
Video and audio
- Camera discovery
OpenHD/ohd_video/src/camera_discovery.cpp - Video stream
OpenHD/ohd_video/src/gstreamerstream.cpp - GStreamer helpers
OpenHD/ohd_video/inc/gst_helper.hpp - Air and ground video
OpenHD/ohd_video/src/ohd_video_air.cpp - Video recording
OpenHD/ohd_video/src/gst_recorder.cpp
Telemetry and control
- Air and ground telemetry
OpenHD/ohd_telemetry/src/OHDTelemetry.cpp - Telemetry core
OpenHD/ohd_telemetry/src/internal/OHDMainComponent.cpp - MAVLink endpoints
OpenHD/ohd_telemetry/src/endpoints/SerialEndpoint.cpp - RC joystick input
OpenHD/ohd_telemetry/src/rc/JoystickReader.cpp
Shared services
- Platform and utilities
OpenHD/ohd_common/inc/openhd_platform.h - Link actions
OpenHD/ohd_common/src/openhd_action_handler.cpp
Other components
- UAV operator
- Ethernet peer
- Flight controller
Connections 23
- UAV operator → Runtime entry: starts runtime
- Runtime entry → Settings and profiles: loads settings
- Runtime entry → Radio link manager: starts link
- Radio link manager → Wireless link: manages link
- Radio link manager → Wi-Fi discovery: discovers adapters
- Runtime entry → Air and ground video: starts video
- Air and ground video → Camera discovery: selects camera
- Air and ground video → Video stream: configures stream
- Video stream → GStreamer helpers: builds pipeline
OpenHD/ohd_video/src/gstreamerstream.cpp - Video stream → Video recording: records stream
OpenHD/ohd_video/src/gstreamerstream.cpp - Runtime entry → Air and ground telemetry: starts telemetry
- Air and ground telemetry → Telemetry core: runs components
- Telemetry core → MAVLink endpoints: routes MAVLink
- Flight controller → MAVLink endpoints: exchanges MAVLink
- RC joystick input → Telemetry core: provides RC input
- Runtime entry → Ethernet manager: starts networking
- Ethernet manager → Ethernet peer: forwards traffic
- Runtime entry → Platform and utilities: uses platform support
OpenHD/main.cpp - Radio link manager → Link actions: registers link actions
- UAV operator → Air and ground video: views live video
- Air and ground video → Wireless link: transmits video
- Air and ground telemetry → Wireless link: transmits telemetry
- RC joystick input → Wireless link: transmits RC control