How rubyfpv/rubyfpv works
RubyFPV is an end-to-end digital FPV radio system for operating UAVs and other remote vehicles. The principal workflow is vehicle-side capture and telemetry/control handling, transport over one or more radio links (optionally through relays), and presentation/control at the ground station. The repository also includes configuration and hardware support, recording and playback, an OSD, and plugin interfaces. The README documents product capabilities, but most runtime source was not sampled; dashed edges with no evidence path mark inferred implementation connections.
Main entry points: radio_links.cpp Radio Links · r_vehicle Vehicle Runtime · osd.cpp On-screen Display · telemetry.cpp Telemetry
Components 24
Vehicle Runtime
- Vehicle Runtime
code/r_vehicle - Video Sources
code/r_vehicle/video_sources.cpp - Video Transmit
code/r_vehicle/processor_tx_video.cpp - Telemetry
code/r_vehicle/telemetry.cpp - Remote Control
code/r_vehicle/ruby_rx_rc.cpp - Relay Processing
code/r_station/relay_rx.cpp
Radio Transport
- Radio Links
code/r_station/radio_links.cpp - Radio Packets
code/radio/radiopackets2.h - Adaptive Video
code/r_vehicle/adaptive_video.cpp
Ground Station
- Controller Runtime
code/r_central/ruby_central.cpp - Process Launchers
code/r_central/launchers_controller.cpp - Control Interface
code/r_central/menu/menu.cpp - Video Reception
code/r_station/processor_rx_video.cpp - Telemetry Parsing
code/r_central/parse_msp.cpp - On-screen Display
code/r_central/osd/osd.cpp - Graphics Renderer
code/renderer/render_engine.cpp - Recording and Playback
code/r_central/media.cpp
Shared Platform
- Models and Settings
code/base/models.cpp - Hardware Support
code/base/hardware.cpp - Shared Runtime State
code/base/shared_mem.h
Extensions
- Plugin SDK
code/public/ruby_core_plugin.h - OSD Plugins
code/r_central/osd/osd_plugins.cpp
Other components
- Operator
- Flight Controller
Connections 26
- Operator → Control Interface: controls
- Control Interface → Controller Runtime: configures
- Controller Runtime → Process Launchers: launches
code/r_central/launchers_controller.cpp - Process Launchers → Vehicle Runtime: starts processes
- Video Sources → Video Transmit: supplies video
- Telemetry → Vehicle Runtime: handles telemetry
- Flight Controller → Telemetry: exchanges telemetry
- Remote Control → Flight Controller: sends control
- Video Transmit → Radio Links: transmits video
- Telemetry → Radio Links: sends telemetry
- Radio Links → Radio Packets: uses packets
- Radio Links → Relay Processing: supports relaying
- Adaptive Video → Video Transmit: adjusts encoding
- Radio Links → Video Reception: delivers video
- Radio Links → Telemetry Parsing: delivers telemetry
- Video Reception → On-screen Display: feeds display
- Telemetry Parsing → On-screen Display: supplies telemetry
- On-screen Display → Graphics Renderer: draws through
- Video Reception → Recording and Playback: records video
- Control Interface → Models and Settings: edits settings
- Vehicle Runtime → Models and Settings: uses settings
- Controller Runtime → Shared Runtime State: shares state
- Vehicle Runtime → Shared Runtime State: shares state
code/r_vehicle/ruby_rx_commands.cpp - Hardware Support → Radio Links: provides interfaces
- Plugin SDK → OSD Plugins: defines extension API
- OSD Plugins → On-screen Display: extends display