mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 03:20:00 +03:00
parent
f926d26021
commit
3eb011329b
1 changed files with 1 additions and 2 deletions
|
@ -148,8 +148,7 @@ void autopilotInit(void)
|
|||
positionPidCoeffs.Kd = cfg->position_D * POSITION_D_SCALE;
|
||||
positionPidCoeffs.Kf = cfg->position_A * POSITION_A_SCALE; // Kf used for acceleration
|
||||
// initialise filters with approximate filter gains; location isn't used at this point.
|
||||
const gpsLocation_t initLocation = gpsSol.llh;
|
||||
resetPositionControl(&initLocation, 100);
|
||||
resetPositionControl(&gpsSol.llh, 100);
|
||||
}
|
||||
|
||||
void resetAltitudeControl (void) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue