Browse Source

mc_pos_control: jump quicker

In SITL, it still takes a while until a vehicle lifts off, so it seems
sensible to raise this jump gain a bit.
sbg
Julian Oes 8 years ago committed by Lorenz Meier
parent
commit
72e46e7ed0
  1. 2
      src/modules/mc_pos_control/mc_pos_control_main.cpp

2
src/modules/mc_pos_control/mc_pos_control_main.cpp

@ -1567,7 +1567,7 @@ MulticopterPositionControl::task_main() @@ -1567,7 +1567,7 @@ MulticopterPositionControl::task_main()
if (!_takeoff_jumped) {
// ramp thrust setpoint up
if (_vel(2) > -(_params.tko_speed / 2.0f)) {
_takeoff_thrust_sp += 0.5f * dt;
_takeoff_thrust_sp += 1.0f * dt;
_vel_sp.zero();
_vel_prev.zero();

Loading…
Cancel
Save