fw_pos_ctrl_l1 move landing to control_landing()

This commit is contained in:
Daniel Agar
2018-03-14 16:39:19 -04:00
parent f194c5424c
commit c72340e039
2 changed files with 251 additions and 224 deletions
@@ -440,6 +440,9 @@ private:
bool control_position(const math::Vector<2> &curr_pos, const math::Vector<2> &ground_speed,
const position_setpoint_s &pos_sp_prev, const position_setpoint_s &pos_sp_curr);
void control_landing(const math::Vector<2> &curr_pos, const math::Vector<2> &ground_speed,
const position_setpoint_s &pos_sp_prev, const position_setpoint_s &pos_sp_curr);
float get_tecs_pitch();
float get_tecs_thrust();