mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 16:31:36 +08:00
FlightTaskManualAltitude: rename method from updateZsetpoints to updateAltitudeLock
This commit is contained in:
committed by
Beat Küng
parent
1810ae8226
commit
efc2721add
@@ -62,8 +62,8 @@ void FlightTaskManualAltitudeSmooth::_updateSetpoints()
|
||||
float vel_sp[2] = {_vel_sp_z, _vel_sp_prev_z};
|
||||
_smoothing.smoothVelFromSticks(vel_sp, _deltatime);
|
||||
|
||||
/* Update position setpoint in z direction based on lock criteria*/
|
||||
_updateZsetpoints();
|
||||
/* Check for altitude lock*/
|
||||
_updateAltitudeLock();
|
||||
|
||||
/* Update previous velocity setpoint for next smoothing iteration */
|
||||
_vel_sp_prev_z = _vel_sp_z;
|
||||
|
||||
Reference in New Issue
Block a user