joplin-mdbooks-website/content/drone-stuff/inav-tuning-tips.md

16 lines
901 B
Markdown
Raw Normal View History

2020-11-29 22:21:36 -05:00
+++
title = "INAV tuning tips"
2020-11-30 07:18:40 -05:00
weight = 3
2020-11-29 22:21:36 -05:00
sort_by = "weight"
insert_anchor_links = "right"
+++
Here are some general INAV tuning tips and things I've learned throughout my builds. Keep in mind that *these only apply to wings* (and maybe planes), not quads:
2020-12-15 09:38:45 -05:00
* There's a known problem with horizon drift. To ameliorate it, use `set imu_acc_ignore_rate = 10`. Setting this low is a good idea, but if it's set too low then the accelerometer will effectively be ignored and the horizon will eventually drift. To reduce the accelerometer's influence, you can also reduce `imu_dcm_ki`/`imu_dcm_kp`.
* To make turns in automatic modes smoother, use `set nav_fw_control_smoothness = 8`.
2020-11-29 22:21:36 -05:00
* Pawel says that the idea of the software LPF is to replace the hardware LPF. Leave the hardware LPF set to 256 Hz and set the software LPF to 20-30 Hz, with a looptime of 1k.
* * *
2020-12-15 09:38:45 -05:00
*Last updated on December 15, 2020.*