mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-27 11:10:34 +08:00
80febaf0f0
Previously, when switching from a goto setpoint into a mode that publishes trajectory_setpoint, the previous goto setpoint was still used for 500ms, which then caused a setpoint jump. This change makes sure that when a trajectory_setpoint is received, any existing goto setpoint is marked as invalid immediately.