1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

Merge remote-tracking branch 'origin/bugfix-flight'

This commit is contained in:
dankers 2011-05-14 00:28:42 +10:00
commit 52fd23a3b9

View File

@ -143,6 +143,8 @@ static void AttitudeTask(void *parameters)
FlightStatusGet(&flightStatus);
if(xTaskGetTickCount() < 10000) {
// Force settings update to make sure rotation loaded
settingsUpdatedCb(AttitudeSettingsHandle());
// For first 5 seconds use accels to get gyro bias
accelKp = 1;
// Decrease the rate of gyro learning during init