mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 10:17:45 +08:00
mc_pos_control : add support for precision landing
This commit is contained in:
committed by
Lorenz Meier
parent
aa4c6c038d
commit
d9221bb8d2
@@ -692,7 +692,7 @@ MulticopterPositionControl::parameters_update(bool force)
|
|||||||
_acceleration_z_max_up.set(_acceleration_z_max_down.get());
|
_acceleration_z_max_up.set(_acceleration_z_max_down.get());
|
||||||
}
|
}
|
||||||
|
|
||||||
/* acceleration horizontal max > decerleration hor */
|
/* acceleration horizontal max > deceleration hor */
|
||||||
if (_acceleration_hor_max.get() < _deceleration_hor_slow.get()) {
|
if (_acceleration_hor_max.get() < _deceleration_hor_slow.get()) {
|
||||||
_acceleration_hor_max.set(_deceleration_hor_slow.get());
|
_acceleration_hor_max.set(_deceleration_hor_slow.get());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user