fw_pos_ctrl_l1 move takeoff to control_takeoff()

This commit is contained in:
Daniel Agar
2018-03-14 16:39:19 -04:00
parent c72340e039
commit d1dca4e74c
2 changed files with 169 additions and 150 deletions
@@ -439,7 +439,8 @@ 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_takeoff(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);