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

Spektrum Telemetry TextGen C++ processing does not work at all #3125

Closed
1 task done
frankiearzu opened this issue Jan 29, 2023 · 0 comments · Fixed by #3126
Closed
1 task done

Spektrum Telemetry TextGen C++ processing does not work at all #3125

frankiearzu opened this issue Jan 29, 2023 · 0 comments · Fixed by #3126
Labels
enhancement ✨ New feature or request

Comments

@frankiearzu
Copy link
Contributor

Is there an existing issue for this feature request?

  • I have searched the existing issues

Is your feature request related to a problem?

Spektrum Receivers can comunicate more than just sensor data in the Telemetry channel.
TextGen is a method where the telemetry data contains Text information who can be displayed in the TX screen.

The current code to process the IC2_TEXTGEN telemetry in the /radio/src/telemetry/spectrum.cpp does not work at all (and by just looking at it, would not work). Each of this telemetry messages carry 15 characters text message.

Example of how TextGen is used to configure AVIAN ESC parameters:
https://www.youtube.com/watch?v=0qAzF_YSr38

Describe the solution you'd like

With a working TextGen Lua script, the TX should be able to access that telemetry TextGen data.
Spectrum creates many configuration menus using TextGen. TextGen is one directions; just from RX to TX. All commands from TX RX menus are done using the radio sticks.
Not to be confused with Forward Programming that is bi-directional.

Describe alternatives you've considered

Since we don't have large Telemetry Sensors who could contain many Strings, my solution is similar to how Forward Programming works. use the LUA Multi-buffer to make the Telemery Data accesable in RAW form to the LUA Script

Already have the code working in a branch. will do a pull request associated to this enhacement.

Additional context

Here is my solution working using my own EdgeTX branch.

https://www.youtube.com/watch?v=yrAqV4b9Li4

@frankiearzu frankiearzu added the enhancement ✨ New feature or request label Jan 29, 2023
@frankiearzu frankiearzu changed the title Spectrum Telemetry TextGen C++ processing don't work at all Spectrum Telemetry TextGen C++ processing does not work at all Jan 29, 2023
@frankiearzu frankiearzu changed the title Spectrum Telemetry TextGen C++ processing does not work at all Spektrum Telemetry TextGen C++ processing does not work at all Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant