FW Pos C: move setting of control_mode_current to separate function and minor clean ups

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Silvan Fuhrer
2021-10-14 11:18:02 +02:00
committed by JaeyoungLim
parent 0cf3ef87e3
commit c3e961a1ed
2 changed files with 67 additions and 60 deletions
@@ -344,6 +344,7 @@ private:
void reset_takeoff_state(bool force = false);
void reset_landing_state();
Vector2f get_nav_speed_2d(const Vector2f &ground_speed);
void set_control_mode_current(bool pos_sp_curr_valid);
/*
* Call TECS : a wrapper function to call the TECS implementation