Skip to content
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

Fix alignment's GetCurve for EdgeTX versions >= 2.9.0 #25

Closed
wants to merge 1 commit into from

Conversation

andir
Copy link

@andir andir commented Nov 22, 2023

In commit 8f3dd7f72e878607ab28af2b0c8ccca6e835fdd5 EdgeTX started to emit the curve elements with the first element in the list having the index 1. This is expected in LUA world but wasn't previously the case.

SoarETX used to workaround the situation by rewriting the curve table. With this commit the curve table is only rewritten when the curve retrieved from EdgeTX does contain an element starting at position 0.

I encountered this while trying SoarETX on RM Boxer (in the simulator) and on my new RM Pocket. On both the aileron alignment dialog works with this change. I've not tested older EdgeTX versions yet.

In commit 8f3dd7f72e878607ab28af2b0c8ccca6e835fdd5[0] EdgeTX started
to emit the curve elements with the first element in the list having
the index 1. This is expected in LUA world but wasn't previously the
case.

SoarETX used to workaround the situation by rewriting the curve table.
With this commit the curve table is only rewritten when the curve
retrieved from EdgeTX does contain an element starting at position 0.

[0]: EdgeTX/edgetx@8f3dd7f
@jfrickmann
Copy link
Owner

SoarOTX is for OpenTX, not EdgeTX.

SoarETX comes on the standard SD-card contents with EdgeTX, and this issue should have been fixed in EdgeTX/edgetx-sdcard#118

@jfrickmann jfrickmann closed this Nov 22, 2023
@andir andir deleted the edgetx-2.9 branch November 23, 2023 00:19
@andir
Copy link
Author

andir commented Nov 23, 2023

Ah! Thanks! I've not seen that it was integrated into the other repository. Sorry for the noise.

@andir
Copy link
Author

andir commented Nov 23, 2023

One thing though: The edgetx-scard repo only contains a version for larger color displays, does that mean the SoarETX support for smaller bw displays (in this repository) isn't going to happen anymore?

@jfrickmann
Copy link
Owner

For BW radios I recommend using OpenTX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants