atbetaflight/docs/CLI/gyro_offset_yaw.md

37 lines
1.1 KiB
Markdown
Raw Normal View History

2018-01-25 21:46:53 -08:00
# CLI parameter <gyro_offset_yaw>
## Introduction
This parameter allows to manually compensate YAW gyro drift over time.
2018-01-25 21:46:53 -08:00
## Audience
This parameter is intended for LOS flyers who use the HEADFREE feature of betaflight.
It reduces the usage of on sight realignment HEADADJ
from 3-6 times to 0-1 during a flight.
2018-01-25 21:46:53 -08:00
## Warnings
Users with exotic board alignment configurations !!! this feature may not work as intended for your purpose !!!
The gyro drift depends on many factors, so the results of manual calibration have a big variance
Factors:
* gyro (mpu6000 ICM260X ...)
* sampling rate
* temperature
* LiPo (3S ... 5S)
* Flight style
* Flight time
* and many more ...
2018-01-25 21:46:53 -08:00
## Setup
The basic setup can be done on the bench without LiPo, USB powered
power on, do not move the quad for 10 minutes
on CW drift 70° --> gyro_offset_yaw = 70
on CCW drift 70° --> gyro_offset_yaw = -70
This is only a coarse adjustment.
2018-01-25 21:46:53 -08:00
Fine tuning requires real flights and some fingertip.
Basically you have to measure the drift at the end of the flight,
and modify the parameter accordingly.
2018-01-25 21:46:53 -08:00
## Wishes
Happy flight !