mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-28 06:40:36 +08:00
a38bdcfc9d
once the rampup starts. The rampup requires a valid vertical velocity setpoint. The corner case is: - We are before takeoff and amending the setpoint to be 0,0,100 acceleration in order to idle - The rampup starts BUT the setpoint is not yet overwritten by the trajectory setpoint topic - The idle setpoint gets amended to not contain a feed-forward vertical acceleration because the rampup is velocity based - The result is a brief invalid 0,0,NAN acceleration setpoint - That invalid setpoint gets overridden by a failsafe that holds zero velocity - Zero velocity leads to applying ~hover thrust briefly