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
Add support for multi-protocol trainer #6896
Conversation
b0f5881
to
d0485ed
Compare
Thanks @raphaelcoeffic for this! EDIT: I didn't have debug enabled, now I see it in X10. |
In the trainer channel monitor it works without any problem, but only if i disable the X10S internal module (IRSM), and disable it what would it do? |
9263153
to
c7167f7
Compare
Sorry but this is still too hacky for me now. We might consider this later, but for now, the defs related to trainer are already messy enough.
This requires indeed an internal module that does not use the S.PORT line (such as ISRM, or internal multi). In your case, the issue has been fixed by @kilrah. Sharing the S.PORT between the internal module for telemetry and the external for trainer signal would probably not work. S.PORT uses a master/slave bus. Inserting random packages their would most probably conflict with the master. |
Hi Raphael, i've ISRM on X10S Express (D16 in this model) but keep telling me I need to disable the internal rf, I've already tried the @kilrah fix, same issue here. |
Your capture shows you are not running a build with my fix. Besides that there is still an issue, won't work if both are enabled at power up. But if you disable the ISRM then enable it again trainer continues to work. |
@kilrah compiled from this branch... i try again! https://github.com/opentx/opentx/commits/raphaelcoeffic/multi-trainer |
@robustini sorry, I had a typo in the last version that prevented the feature to work at all... |
Thanks @raphaelcoeffic, with the typo fix works again, but only with the internal module disabled, and now it doesn't ask me to disable the internal rf but it tells me to enable the MULTI_TELEMETRY in the external module... @kilrah? |
@raphaelcoeffic As you can see in my video above the trainer limits now overwhelm 100%, they arrive here at 102.4%, previously to your fix at least here they seemed ok (+100/-100).
Try to replace 820 with 810. |
This is necessary so that you get 100% in the mixers. In fact, the trainer screen should be corrected instead. |
Nice! However it continues to not work with the internal module, I don't know what to say. |
I have the X9lite as well, which has an ISRM as well, so I can probably make it work with that to fix your issue. |
Issue with the |
I've explained it doesn't work at boot but does if you turn the internal module off/on.
X12S |
Already tried Andre, same issue also with the off/on trick, see my video. |
Yeah becasue you have the radios stuck to each other, FrSky proto will swamp if you're not at least 1-2m away. But you can see that "no multi_telemetry" disappears when you turn off internal. |
Naaaa, already tried, the reason is not that. |
Hi, I'm trying too but i've exactly the same problem as @robustini , as soon as I activate the internal ISRM module the trainer stops working. |
Thanks @lorenzing for your report, so I'm not crazy. |
I flagged it incomplete, so maybe it will be clearer that this is unmerged, work in progress, targeting a branch that is not even available a nightly yet |
Ok, so it seems that the ISRM are preventing SPORT from being used by the external module (don't ask me why, they don't use it themselves...). On my X9 lite, I removed to connection between ISRM and SPORT line, and it works like a charm: I can have the multi-module with telemetry working AND ISRM on. |
Great @raphaelcoeffic, investigating the X10S Express ACCESS I did too, but the hardware modification it's slightly different: https://www.rcgroups.com/forums/showpost.php?p=42904121&postcount=13067 |
I think after the latest news and several bench tests with excellent results i suggest to remove the "incomplete" flag, it works fine. |
Why on earth is ISRM "playing" with SPORT line ?? It does not use it when running, does not use it when flashing. I can't think of any legitimate reason for that |
And you're not the only one who doesn't understand it. |
But there are so many others, not only the legitimate ones ;-) |
I agree! ;-) |
f89f32b
to
73d7b6e
Compare
- convert values properly. - apply the weights as setup.
73d7b6e
to
cd03589
Compare
@3djc please before merge could you fix the problem reported in the first two images I posted here related to Jumper T16 with the BT module installed? |
That's a translation issue, need an Italian-speaking dev to maintain the IT translations. |
The X10 target use the same IT language and there's no issue in that menu. |
It is not only Italian, will look at it |
@robustini should be fixed, could you test ? |
Fixed, cool thanks! |
@raphaelcoeffic it would be useful to have the RSSI on the slave tx, unfortunately there is not currently, in the firmware of the multi-protocol Pascal tells me that it is already implemented, so it is missing here. |
That would mean the master multi has to send telem, which can swamp craft module doesn,'t sound like a good idea, or am I misunderstanding ? |
https://www.rcgroups.com/forums/showpost.php?p=42974047&postcount=15547 |
Yes, there are some data we could display on the master. Just not clear how that could be displayed. We’ll figure something out, the data are not going away ;-) |
Guys, it’s quite funny to battle with quotes from RCG, but I’m not sure here is the place for that. Once you’re done in RCG, just write me a summary 😁 |
I just said it would be nice to have this thing, not that it was possible, that Pascal said! :p |
Allows for using the new Rx protocols in multi-protocol module for trainer input. 16 channels supported.