mathiasvr / bluejay

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

brake on stop at zero throttle #46

Closed kasatka60 closed 2 years ago

kasatka60 commented 2 years ago

is it possible to implement a brake on stop at zero throttle on airplanes?

mathiasvr commented 2 years ago

I'm not sure what you mean? Have you enabled 'brake on stop'? At zero throttle motors should stop and the ESC will exit the run loop.

kasatka60 commented 2 years ago

so that the brake only works at zero throttle. when the gas is reduced, the brake does not engage.

mathiasvr commented 2 years ago

Okay, so basically having 'max braking strength' at zero (no active braking / damped light), but at zero throttle it should do full braking? This is similar to what 'brake on stop' does but it has a delay before it kicks in and will disarm the ESC before motors is fully stopped.

Have you tried 'braking strength' at 0 with 'brake on stop' enabled? Is this close to what you want?

kasatka60 commented 2 years ago

I'll try

kasatka60 commented 2 years ago

Exactly what is needed. thanks for the help