Add OSD warnings to telemetry pages with voice messages#516
Open
vishwamartur wants to merge 1 commit intobetaflight:masterfrom
Open
Add OSD warnings to telemetry pages with voice messages#516vishwamartur wants to merge 1 commit intobetaflight:masterfrom
vishwamartur wants to merge 1 commit intobetaflight:masterfrom
Conversation
Related to betaflight#345 Add OSD warnings/messages integration into telemetry pages with voice messages for DJI FPV System users. * Modify `src/SCRIPTS/BF/background.lua` to handle OSD warnings/messages by adding a new function `handleOsdWarnings` and calling it in `run_bg`. * Add support for sending OSD warnings/messages via telemetry in `src/SCRIPTS/BF/MSP/crsf.lua`, `src/SCRIPTS/BF/MSP/ghst.lua`, and `src/SCRIPTS/BF/MSP/sp.lua`. * Add logic to trigger voice messages based on OSD warnings/messages in `src/SCRIPTS/BF/MSP/messages.lua`. * Create a new Lua script `src/SCRIPTS/BF/osd_warnings.lua` to handle OSD warnings and convert them into telemetry data. * Update telemetry page scripts in `src/SCRIPTS/BF/PAGES/failsafe.lua` and `src/SCRIPTS/BF/PAGES/pos_osd.lua` to display OSD warnings.
haslinghuis
reviewed
Jan 2, 2025
Member
haslinghuis
left a comment
There was a problem hiding this comment.
Can this function be switched on / off ?
gericklao5-droid
approved these changes
Mar 16, 2026
gericklao5-droid
approved these changes
Mar 16, 2026
haslinghuis
approved these changes
Mar 17, 2026
Member
|
@pfeerick have you seen this 😛 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related to #345
Add OSD warnings/messages integration into telemetry pages with voice messages for DJI FPV System users.
src/SCRIPTS/BF/background.luato handle OSD warnings/messages by adding a new functionhandleOsdWarningsand calling it inrun_bg.src/SCRIPTS/BF/MSP/crsf.lua,src/SCRIPTS/BF/MSP/ghst.lua, andsrc/SCRIPTS/BF/MSP/sp.lua.src/SCRIPTS/BF/MSP/messages.lua.src/SCRIPTS/BF/osd_warnings.luato handle OSD warnings and convert them into telemetry data.src/SCRIPTS/BF/PAGES/failsafe.luaandsrc/SCRIPTS/BF/PAGES/pos_osd.luato display OSD warnings.