mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-12 19:10:27 +03:00
Update navigation_fixedwing.c
This commit is contained in:
parent
9d8b1a24d6
commit
b71547a03b
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ static void updateAltitudeVelocityAndPitchController_FW(timeDelta_t deltaMicros)
|
|||
// Default control based on climb rate (velocity)
|
||||
float targetValue = desiredClimbRate;
|
||||
float measuredValue = navGetCurrentActualPositionAndVelocity()->vel.z;
|
||||
pidControllerFlags_e pidFlags = PID_DTERM_FROM_ERROR;
|
||||
pidControllerFlags_e pidFlags = 0; // PID_DTERM_FROM_ERROR;
|
||||
|
||||
// Optional control based on altitude (position)
|
||||
if (pidProfile()->fwAltControlUsePos) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue