edgetx icon indicating copy to clipboard operation
edgetx copied to clipboard

wrong servo pulses

Open HubertHuber opened this issue 1 year ago • 16 comments

Is there an existing issue for this problem?

  • [X] I have searched the existing issues

What part of EdgeTX is the focus of this bug?

Transmitter firmware

Current Behavior

When I analyze the servo signal at the receiver output, I keep seeing pulses of the wrong length every few seconds. It's always just a single pulse. The length of the false pulse corresponds to the MIN or MAX value in the OUTPUT definitions.

Expected Behavior

Without stick movement servo pulses should always remain constant.

Steps To Reproduce

Hold throttle stick in front or rear position and analyze the corresponding servo signal at receiver pin.

Version

2.10.4

Transmitter

FrSky X9 Lite / Lite S

Operating System (OS)

No response

OS Version

No response

Anything else?

log.txt

HubertHuber avatar Sep 02 '24 10:09 HubertHuber

What receiver are you using? What you describe looks like the failsafe data sent on a regular basis

3djc avatar Sep 02 '24 13:09 3djc

Receivers: Frsky Archer plus GR6, Archer GR6, G-RX6, RX6R, RX4R I selected the wrong TX - it is not FrSky X9 Lite / Lite S but FrSky Lite pro Failsave set to HOLD - definitly NO failsave situation Please look at the attached logfile - we're talking about JUST ONE FALSE PULSE every few seconds

HubertHuber avatar Sep 02 '24 18:09 HubertHuber

Yes one every few seconds looks like failsafe data been sent (NOT the receiver being in failsafe). Could you try with failsafe set to receiver ?

3djc avatar Sep 02 '24 18:09 3djc

failsafe set to receiver - NO CHANGE

HubertHuber avatar Sep 02 '24 19:09 HubertHuber

Did some additional tests - problem exists under ELRS too.

HubertHuber avatar Sep 04 '24 09:09 HubertHuber

Some more tests - FALSE PULSES at PPM-out (external bay) too.

HubertHuber avatar Sep 04 '24 13:09 HubertHuber

Here is a 1min log, not happening here

putty.log

3djc avatar Sep 04 '24 15:09 3djc

What is -102 in your log? Is it an SBUS value?

HubertHuber avatar Sep 04 '24 16:09 HubertHuber

I checked the SBUS-out signal on my receiver - seems to be OK - NO FALSE PULSES

HubertHuber avatar Sep 04 '24 16:09 HubertHuber

Mine was pwm output measured with an esp32. If you get proper sbus out, it means the radio is doing its job.

3djc avatar Sep 04 '24 16:09 3djc

I have to correct my SBUS-measurement. The time was apparently too short. The pause between false pulses is significantly longer with SBUS. Another interesting finding is that the error does not occur when the SOURCE is a SWITCH.

HubertHuber avatar Sep 04 '24 17:09 HubertHuber

The thing is, what the radio sends is strictly the same, like there is no difference AT ALL, that you look at receiver sbus out or pwm pulse. There is only one set of channels sent

3djc avatar Sep 04 '24 17:09 3djc

NO FALSE PULSES when SOURCE is a SWITCH - measurement time more than 30 minutes.

HubertHuber avatar Sep 04 '24 18:09 HubertHuber

That leaves a question: either there is an edgetx adc issue reading the sticks (but then why only one of the axis, and none of the other axis / pots / sliders, and why only this radio when code is generic and used in all radio), or your hardware does have an issue

3djc avatar Sep 04 '24 18:09 3djc

All 4 sticks and the 2 pots are affected. Do you suspect a problem reading the analog values?

HubertHuber avatar Sep 04 '24 18:09 HubertHuber

An interesting finding:

If the parameter "Slow / Down" is set in Mixer, the false pulses disappear - that looks pretty strange ;-)

image

HubertHuber avatar Sep 10 '24 06:09 HubertHuber

Did this get resolved? I'm seeing a similar thing happening. My plane sitting on the ground I can see the flaps and elevator "twitch" down/up for just a millisecond. Happens generally every 30-60 seconds. TX is X-Lite Pro, Radiomaster ELRS module, RX is Radiomaster ER6GV. Thanks.

RDJay56 avatar Nov 09 '24 22:11 RDJay56

No, there is no final solution, but I can live with my "WORKAROUND" - did you try it already? Just set" Slow/Down=0.1" in all relevant mixers. Regards HuHu

HubertHuber avatar Nov 10 '24 07:11 HubertHuber

No, there is no final solution, but I can live with my "WORKAROUND" - did you try it already? Just set" Slow/Down=0.1" in all relevant mixers.

Regards HuHu

Von: RDJay56 @.> Gesendet: Samstag, 9. November 2024 23:51 An: EdgeTX/edgetx @.> Cc: HuHu @.>; Author @.> Betreff: Re: [EdgeTX/edgetx] wrong servo pulses (Issue #5496)

Did this get resolved? I'm seeing a similar thing happening. My plane sitting on the ground I can see the flaps and elevator "twitch" down/up for just a millisecond. Happens generally every 30-60 seconds. TX is X-Lite Pro, Radiomaster ELRS module, RX is Radiomaster ER6GV. Thanks.

HubertHuber avatar Nov 10 '24 07:11 HubertHuber

Something odd going on it seems to me. I went back to Edge 2.9.2 and the problem went away, however that messed with a bunch of my other programming. Flashed back to 2.10.5 and added the .1 slow in all my mix lines. Twitching didn't completely go away but seemed improved.

Thanks, Rj

RDJay56 avatar Nov 10 '24 21:11 RDJay56

I've increased my "slow/down" all the way to .5 seconds and still see the glitches although not nearly as often. Even tried adding "slow/up" (using both) and still have the glitches.

RDJay56 avatar Nov 11 '24 00:11 RDJay56

I'm currently on EdgeTX v2.10.5 - no change to v2.10.4 Trying to go back to EdgeTX v2.9.2 (your stable version) and see what happens. Hoping "3djc" will have one more look at our Problem ;-)

HubertHuber avatar Nov 11 '24 09:11 HubertHuber

That won't happen since I don't have any archer gear or that radio

3djc avatar Nov 11 '24 10:11 3djc

I went back to EdgeTX V2.9.2. Then used the 2.9.2 Companion to restore from a back up that was made with the same. Glitches are gone. Did to both my TX and 5 airplanes, tested all and is good.

BTW, I'm not using archer. The TX's are Frsky X-Lite Pro using Radiomaster Nano modules and Radiomaster ER6GV RX's.

RDJay56 avatar Nov 11 '24 15:11 RDJay56

I also tried to go back to EdgeTX v2.9.2 but couldn't find v2.9.2 Companion download. Where did you download it?

HubertHuber avatar Nov 11 '24 18:11 HubertHuber

It was saved on my computer from when I was using it before. I tend to keep old Companions, just install the new in a different folder.

RDJay56 avatar Nov 11 '24 19:11 RDJay56

Companion for each release is always at the bottom under the Assets heading, along with firmware.

https://github.com/EdgeTX/edgetx/releases/tag/v2.9.2

2.9.4 is the latest version for 2.9.x btw

https://github.com/EdgeTX/edgetx/releases/tag/v2.9.4

On Tue, 12 Nov 2024, 5:19 am RDJay56, @.***> wrote:

It was saved on my computer from when I was using it before. I tend to keep old Companions, just install the new in a different folder.

— Reply to this email directly, view it on GitHub https://github.com/EdgeTX/edgetx/issues/5496#issuecomment-2468870136, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJ66KPW2NTUL2KAX3I55R32AD7NLAVCNFSM6AAAAABNQCR5NCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRYHA3TAMJTGY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

pfeerick avatar Nov 11 '24 20:11 pfeerick

Thanks - unfortunately I always forget to open "ASSETS" to see the details.

HubertHuber avatar Nov 11 '24 21:11 HubertHuber

@pfeerick Hi Peter, do you see a chance that this problem will be fixed in one of the next releases of EdgeTX? Regards HuHu

HubertHuber avatar Nov 11 '24 21:11 HubertHuber

Can only be fixed if the cause is identified, and sounds like a very strange issue at present. Which are sometimes the harder ones to pin down 😢

On Tue, Nov 12, 2024 at 7:14 AM HuHu @.***> wrote:

@pfeerick https://github.com/pfeerick Hi Peter, do you see a chance that this problem will be fixed in one of the next releases of EdgeTX? Regards HuHu

— Reply to this email directly, view it on GitHub https://github.com/EdgeTX/edgetx/issues/5496#issuecomment-2469030591, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJ66KJ52IDVS2W3RKVSCW32AEM2LAVCNFSM6AAAAABNQCR5NCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRZGAZTANJZGE . You are receiving this because you were mentioned.Message ID: @.***>

pfeerick avatar Nov 11 '24 22:11 pfeerick