EdgeTX / edgetx

EdgeTX is the cutting edge open source firmware for your R/C radio
https://edgetx.org
GNU General Public License v2.0
1.58k stars 333 forks source link

TBS Agent Lite is slow to populate the Rx output map etc #3380

Closed ror1948 closed 1 year ago

ror1948 commented 1 year ago

Is there an existing issue for this problem?

What part of EdgeTX is the focus of this bug?

Transmitter firmware

Current Behavior

when running the TBS Agent lite 0.96 Lua script it is very slow when talking to the CRSF nano pro Rx with v6.19 Seems much faster when getting Tx info Currently takes 40sec to display Rx output map

Expected Behavior

display info of Rx within a few seconds Currently takes 40sec to display Rx output map

Steps To Reproduce

Tx(micro Tx module V2 installed in bay) is bound to a crossfire Rx at 400k press SYS button select TBS AGENT LITE lua script Select Rx Select output map

Version

Other (Please specify below)

Transmitter

Radiomaster TX16S / TX16SMK2

Anything else?

version 2.8.1

RipperDrone commented 1 year ago

same here, X9D+. Script ran fine on OpenTX, completely freezes in NAno RX Output Map and Channel Map pages (they do not populate, even after 1min) :-(. Something is flawed in the memory management, it seems.

JimB40 commented 1 year ago

Serial driver re-write on-going? @pfeerick @raphaelcoeffic

pfeerick commented 1 year ago

Check the version number, this is from before the re-write which is in 2.9 ;) So not entirely sure what's going on there.

RipperDrone commented 1 year ago

Check the version number, this is from before the re-write which is in 2.9 ;) So not entirely sure what's going on there.

sry, this hint is still a bit cryptic to me - does it mean we should re-test once edgeTX 2.9 is out? Or is there an auto-nightly build branch where we can download a nightly version already? Not versed to build my own 2.9'ish versions yet... :-)

pfeerick commented 1 year ago

No, it is in response to the prior message, which is from JimB40 - he's talking about something that changed in 2.9 whereas the OP is talking about 2.8.1 ;)

And yes, you can test with the automated nightly builds if you wish - backup your MODELS and RADIO folders first just in case, and then flash one of the builds from https://github.com/EdgeTX/edgetx/releases/tag/nightly or use Buddy and enable prereleases under the filters.

ror1948 commented 1 year ago

TX16s Still having a problem with this unable to populate output map because I can only set the rate to 115k..It will not bind at 400k. This Rx did work before all this problem came to lite on CF 6.07 but now running 6.19 and Edgetx edgetx-firmware-nightly-d4b7f55e thanks

pfeerick commented 1 year ago

Closing this issue as it was brought up and appears to be resolved in #3688