TECS: enable direct height-rate control

Signed-off-by: RomanBapst <bapstroman@gmail.com>
This commit is contained in:
RomanBapst
2021-06-04 14:51:27 +02:00
committed by Silvan Fuhrer
parent f6de99d42e
commit ad9288536b
4 changed files with 25 additions and 7 deletions
@@ -347,7 +347,7 @@ private:
float pitch_min_rad, float pitch_max_rad,
float throttle_min, float throttle_max, float throttle_cruise,
bool climbout_mode, float climbout_pitch_min_rad,
uint8_t mode = tecs_status_s::TECS_MODE_NORMAL);
uint8_t mode = tecs_status_s::TECS_MODE_NORMAL, float hgt_rate_sp = NAN);
DEFINE_PARAMETERS(