fw_pos_ctrl: allow npfg to operate without wind estimate, dont switch controllers

This commit is contained in:
Thomas Stastny
2022-01-14 22:05:53 +01:00
committed by Silvan Fuhrer
parent 082e320191
commit 13c36155ce
2 changed files with 27 additions and 24 deletions
@@ -372,6 +372,7 @@ private:
void reset_takeoff_state(bool force = false);
void reset_landing_state();
bool using_npfg_with_wind_estimate() const;
Vector2f get_nav_speed_2d(const Vector2f &ground_speed);
void set_control_mode_current(const hrt_abstime &now, bool pos_sp_curr_valid);