mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 09:22:18 +00:00
* 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>
34 lines
989 B
Bash
34 lines
989 B
Bash
#!/bin/sh
|
|
#
|
|
# Standard apps for vtol: Attitude/Position estimator, Attitude/Position control.
|
|
#
|
|
# NOTE: Script variables are declared/initialized/unset in the rcS script.
|
|
#
|
|
|
|
###############################################################################
|
|
# Begin Estimator group selection #
|
|
###############################################################################
|
|
|
|
ekf2 start
|
|
|
|
###############################################################################
|
|
# End Estimator group selection #
|
|
###############################################################################
|
|
|
|
airspeed_selector start
|
|
|
|
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
|
|
|
|
# Start Land Detector
|
|
# Multicopter for now until we have something for VTOL
|
|
#
|
|
land_detector start vtol
|