atbetaflight/docs/Autotune.md

41 lines
1.7 KiB
Markdown
Raw Normal View History

2014-09-15 15:40:17 -07:00
# Autotune
Autotune helps to automatically tune your multirotor.
## Configuration.
Autotune only works in HORIZON or ANGLE mode, before using auto-tune it's best you setup so there is as little drift as possible.
Autotuning is best on a full battery in good flying conditions, i.e. no or minimal wind.
Configure a two position switch on your transmitter to activate the AUTOTUNE and HORIZON or ANGLE modes using the auxilary configuration.
You may find a momentary switch more suitable than a toggle switch.
## Using autotuning
Turn off the autotune switch. If the autotune switch is on while not armed the warning LED will flash and you cannot arm.
2014-11-14 04:42:17 -08:00
1. Launch the multirotor.
2014-09-15 15:40:17 -07:00
2014-11-14 04:42:17 -08:00
1. Turn on/hold the autotune switch on your transmitter. Observe roll left/right. A beep code will sound on the beeper.
2014-09-15 15:40:17 -07:00
2014-11-14 04:42:17 -08:00
1. Turn off/release the switch while still flying to stop this phase of tuning. PID settings will have been updated for ROLL/YAW.
2014-09-15 15:40:17 -07:00
2014-11-14 04:42:17 -08:00
1. Turn on/hold the switch again. Observe pitch forwards/backwards. A beep code will sound on the beeper.
2014-09-15 15:40:17 -07:00
2014-11-14 04:42:17 -08:00
1. Turn off/release the switch while still flying to stop this phase of tuning. PID settings will have been updated for PITCH/YAW.
2014-09-15 15:40:17 -07:00
2014-11-14 04:42:17 -08:00
1. PIDS are updated, fly and see if it's better.
2014-09-15 15:40:17 -07:00
2014-11-14 04:42:17 -08:00
1. If it's worse, flip the switch again to restore previous pids that were present prior to arming.
2014-09-15 15:40:17 -07:00
2014-11-14 04:42:17 -08:00
1. Land.
2014-09-15 15:40:17 -07:00
2014-11-14 04:42:17 -08:00
1. Verify results via an app while power still applied if desired. Cutting the power will loose the unsaved pids.
2014-09-15 15:40:17 -07:00
2014-11-14 04:42:17 -08:00
1. If you're happy with the pids then while disarmed flip the autotune switch again to save all settings then flip it back so you can arm again. A beeper will sound indicating the settings are saved.
2014-09-15 15:40:17 -07:00
# References
* Brad Quick for the initial Autotune algorithm in BradWii.