mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 04:15:44 +03:00
make the accZ lpf used for althold configurable
set the variable accz_lpf_cutoff to the desired cutoff frequency this can help to make althold smoother on copters with lots of vibrations Conflicts: src/cli.c src/config.c src/imu.c src/mw.h
This commit is contained in:
parent
c53268b7be
commit
1bf806f54c
5 changed files with 13 additions and 5 deletions
|
@ -296,6 +296,7 @@ const clivalue_t valueTable[] = {
|
|||
{ "acc_lpf_factor", VAR_UINT8, ¤tProfile.acc_lpf_factor, 0, 250 },
|
||||
{ "accxy_deadband", VAR_UINT8, ¤tProfile.accDeadband.xy, 0, 100 },
|
||||
{ "accz_deadband", VAR_UINT8, ¤tProfile.accDeadband.z, 0, 100 },
|
||||
{ "accz_lpf_cutoff", VAR_FLOAT, ¤tProfile.accz_lpf_cutoff, 1, 20 },
|
||||
{ "acc_unarmedcal", VAR_UINT8, ¤tProfile.acc_unarmedcal, 0, 1 },
|
||||
{ "acc_trim_pitch", VAR_INT16, ¤tProfile.accelerometerTrims.values.pitch, -300, 300 },
|
||||
{ "acc_trim_roll", VAR_INT16, ¤tProfile.accelerometerTrims.values.roll, -300, 300 },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue