mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-08 18:52:46 +08:00
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.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user