FW Position Controller: move nav_speed_2d calculation to function

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 581ec224be
commit 0cf3ef87e3
2 changed files with 26 additions and 34 deletions
@@ -343,6 +343,7 @@ private:
void reset_takeoff_state(bool force = false);
void reset_landing_state();
Vector2f get_nav_speed_2d(const Vector2f &ground_speed);
/*
* Call TECS : a wrapper function to call the TECS implementation