mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
Now there are other attitude settings (like rotation angle) make sure these are
loaded right away at power up
This commit is contained in:
parent
3d5244c4b8
commit
dbf8a77a94
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user