bird-sanctuary / bluejay

:bird: Digital ESC firmware for controlling brushless motors in multirotors
GNU General Public License v3.0
301 stars 32 forks source link

Turtle Mode and changing motor direction with betaflight configurator not working after 19.2 #167

Open X-ForceFPV opened 11 months ago

X-ForceFPV commented 11 months ago

Describe the issue

Turtle Mode does not work

FC is BetaFPV 1S F411 AIO v2.0 ELRS

Reversing motor direction with betaflight configurator does also not work

19.2 20.0 and 20.1 are also giving below 1% errors in the motor tab while spinning.

everything works well with 19.0

Bluejay version

0.20.1

ESC variant

A_X_5

PWM frequency

96

DShot bitrate

300

Bidirectional DShot

Off

FC firmware

Betaflight 4.5 Master

Motor size

0802

Configurator debug log

No response

stylesuxx commented 11 months ago

I am a bit confused - you state you have below 1% errors, but bi-directional DSHOT is not enabled? You should not be seeing a value then at all.

I know BF 4.5 had some issues with DSHOT commands in general, am surprised to hear that it works with 0.19.0. We will have to investigate this further.

X-ForceFPV commented 11 months ago

Excuse me, i missed the box, it is enabled. Only 0% errors are acceptable, right?

background: i wanted the new erpm corrections because i use rpm filter.

BetaFPV delivered the fc with bluejay 0.17(beta), i guess because of bb51

hyp0dermik-code commented 11 months ago

@stylesuxx Can you please clarify whether you mean 4.4.2+ or 4.5 specifically

@X-ForceFPV By 19.0 working, you mean 0% errors with the "I accept" slider enabled but nothing else in the Motors tab, and you've observed for longer than a minute?

On 4.5 I get <1% errors until the motors are enabled and spinning, and then get 0%. Can you confirm you have the same behaviour?

Can you please confirm what commit of 4.5z?

IIRC I had this same issue on 4.4.2 and 4.4.0 as well, I'll confirm later. My build of 4.5z is PR 13012 @ https://build.betaflight.com/api/builds/c59b26d6b7e590bbcb13e29ac30f9d03/log Turtle mode is working for me, and two motors are inverted in ESCconfig

This PR may be relevant: https://github.com/betaflight/betaflight/pull/12276

X-ForceFPV commented 11 months ago

@X-ForceFPV By 19.0 working, you mean 0% errors with the "I accept" slider enabled but nothing else in the Motors tab, and you've observed for longer than a minute?

On 4.5 I get <1% errors until the motors are enabled and spinning, and then get 0%. Can you confirm you have the same behaviour?

Can you please confirm what commit of 4.5z?

at first it looks like that, but giving it more time it starts oscillate between 0 and 0,7% errors over ~ 4 seconds. above 19.0 i have one motor with constant errors about 0.8%

is there anything to read about dshot errors?

my version is 2 days old. 4.5 (latest)master

stylesuxx commented 11 months ago

@stylesuxx Can you please clarify whether you mean 4.4.2+ or 4.5 specifically 4.4.2+ I have only looked briefly into 4.5 - a lot was not working at that time. Currently most of my testing quads are on 4.4.0 and 4.4.1

hyp0dermik-code commented 10 months ago

@X-ForceFPV By 19.0 working, you mean 0% errors with the "I accept" slider enabled but nothing else in the Motors tab, and you've observed for longer than a minute? On 4.5 I get <1% errors until the motors are enabled and spinning, and then get 0%. Can you confirm you have the same behaviour? Can you please confirm what commit of 4.5z?

at first it looks like that, but giving it more time it starts oscillate between 0 and 0,7% errors over ~ 4 seconds. above 19.0 i have one motor with constant errors about 0.8%

is there anything to read about dshot errors?

my version is 2 days old. 4.5 (latest)master

Did you enable EDT safety arm when you switched to 19.2+? If so, can you disable it temporarily and tested again?