1
0
Fork 0
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:
breadoven 2025-06-24 22:42:12 +01:00
parent 9d8b1a24d6
commit b71547a03b

View file

@ -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) {