RadioLink / DumboRC command packages for P Series#1164
Open
ELynx wants to merge 4 commits into
Open
Conversation
Pass "special" packages to and from the module Allows to replicate "Set Failsafe", "Set Gyro Settings" and "Set Gyro Endpoints" from DDF-350
Has max 10 channels Has no failsafe Older X series have gyro sense fixed to CH8, also can be used as regular channel
Add script that mimics interaction between DumboRC DDF-350 transmitter and P Series receivers
Author
|
Tested on P6... and P10..., works as expected. Tested with X10F, still works, new commands do not cause issues. |
Author
|
PR in EdgeTX EdgeTX/edgetx#7441 |
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.
DumboRC receivers in P series support setting of failsafes, gyro sense channel and gyro endpoints.
DDF-350 firmware 1.1.9 does this through UI sub-item.
I reverse engineered the format, and finally found time to implement it throughout. Needs changes to EdgeTX, will link PR in comments. Tested with custom builds off 2.12.1 and current main.
Main Lua script is 99% generated, surprisingly in my life I had not come across it. All of my attempts to improve it only made it worse.
Bridges are generated but at least I can verify C/C++ myself. Still, beware.
Main radio changes were written 90% by hand. Otherwise, it turned into helper hell and with control flow issues.
Will test over the course of this summer.