-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Process Initial MSP messages in the correct order. #221
Conversation
…CONFIG message. If this does not happen, the VTX may not register properly with the FC and potentially lose further FC MSP VTX messages. This change will ensure the initial messages are processed in order.
…VTX cms navigation less "sluggish".
Upon merge, this was GitHub actions build number 418. At this build, my Race V3 no longer outputs signal. Build 417 still works. Running EmuFlight on this quad, but i don't think it matters. edit: |
More information please. What do the build numbers refer to?
…________________________________
From: nerdCopter ***@***.***>
Sent: 14 December 2024 8:27 PM
To: hd-zero/hdzero-vtx ***@***.***>
Cc: Geoff Sim ***@***.***>; Author ***@***.***>
Subject: Re: [hd-zero/hdzero-vtx] Process Initial MSP messages in the correct order. (PR #221)
Upon merge, this was GitHub actions build number 418. At this build, my Race V3 no longer outputs signal. Build 417 still works. Running EmuFlight on this quad, but i don't think it matters.
—
Reply to this email directly, view it on GitHub<#221 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEZMSIEWHPP62JHFOKAY53D2FSIDLAVCNFSM6AAAAABONRWNM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBTGMZTKMJUGE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
https://github.com/hd-zero/hdzero-vtx/actions/runs/11662675049 |
Perhaps you could try the head of the VTX source code and let me know the results.
As I don't know EmuFlight, I don't know what the MSP contract is between EmuFlight and the VTX.
I have tested my changes against iNav and BetaFlight and they work as expected.
Betaflight requires a V1 MSP_CONFIG message to be sent continuously to the FC.
It might be that EmuFlight is using the same message flow as BetaFlight.
Contact me on Discord (geoffsim) and I can send you an updated VTX firmware to test.
(assuming EmuFlight responds to an MSP_FC_VARIANT request of "EMUF" ?)
Failing that, I will have to look into EmuFlight for testing purposes.
Geoff.
…________________________________
From: nerdCopter ***@***.***>
Sent: 15 December 2024 5:01 PM
To: hd-zero/hdzero-vtx ***@***.***>
Cc: Geoff Sim ***@***.***>; Author ***@***.***>
Subject: Re: [hd-zero/hdzero-vtx] Process Initial MSP messages in the correct order. (PR #221)
Merge pull request #222 from geoffsim/VTX-Config-Processing
hdzero-vtx build #418: Commit 544f87e pushed by ligenxxxx
https://github.com/hd-zero/hdzero-vtx/actions/runs/11662675049
—
Reply to this email directly, view it on GitHub<#221 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEZMSIHXKCNIBOBKF4NTRPL2FWYXFAVCNFSM6AAAAABONRWNM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBTHE2DSNZVGM>.
You are receiving this because you authored the thread.
|
All aforementioned personal issues solved by #231 |
On startup, the initial MSP_VARIANT message MUST be processed before the MSP_VTX_CONFIG message.
If this does not happen, the VTX will/may not register properly with the FC and potentially discard further MSP messages.
This change will ensure the initial messages are processed in order.
Process Initial MSP messages in the correct order.