mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-24 15:40:31 +08:00
move hover_thrust_estimator to new module (mc_hover_thrust_estimator)
* MC_HTE: unitialize with hover_thrust parameter * MC_HTE: constrain hover thrust setter between 0.1 and 0.9 * MC_HTE: integrate with land detector and velocity controller * MCHoverThrustEstimator: Always publish an estimate even when not fusing measurements. This is required as the land detector and the position controller need to receive a hover thrust value. * MC_HTE: use altitude agl threshold to start the estimator local_position.z is relative to the origin of the EKF while dist_bottom is above ground Co-authored-by: bresch <brescianimathieu@gmail.com>
This commit is contained in:
@@ -61,6 +61,7 @@ mc_att_control start
|
||||
#
|
||||
# Start Multicopter Position Controller.
|
||||
#
|
||||
mc_hover_thrust_estimator start
|
||||
mc_pos_control start
|
||||
|
||||
#
|
||||
|
||||
@@ -22,6 +22,7 @@ vtol_att_control start
|
||||
mc_rate_control start vtol
|
||||
mc_att_control start vtol
|
||||
mc_pos_control start vtol
|
||||
mc_hover_thrust_estimator start
|
||||
|
||||
fw_att_control start vtol
|
||||
fw_pos_control_l1 start vtol
|
||||
|
||||
Reference in New Issue
Block a user