We’ve been working on tuning a quadcopter and are running into instability when the vehicle is braking in loiter mode.
When braking from high speeds the vehicle will rock back and forth several times before settling down, particularly when flying diagonally into the wind. Looking in the logs, the roll overshoots the desired roll (and pitch overshoots desired pitch) significantly (some flights upwards of 15 degrees).
PosHold doesn’t exhibit this rocking behavior, but skids/slides a lot more than desired.
We’ve done an initial tune, added a harmonic notch filter and a couple autotunes and have been playing with these loiter/loiter brake parameters (I included what they were set to in the atttached bin file):
LOIT_ACC_MAX 450 cm/s/s
LOIT_ANG_MAX 25 deg
LOIT_BRK_ACCEL 250 cm/s/s
LOIT_BRK_DELAY 0.3 s
LOIT_BRK_JERK 50 cm/s/s/s
Unfortunately we haven’t found a combination that gives us good braking behavior. Any advice on which parameters you would tweak to fix this behavior? Does this look like a loiter parameter issue, a general tuning error or something else?
Here’s a link to the bin file and short video showing a few examples:
https://drive.google.com/file/d/10pUE46va7G8v7XazLJyyqrGFf-pcr8ZQ/view?usp=sharing