mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +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>
32 lines
589 B
Plaintext
32 lines
589 B
Plaintext
uorb start
|
|
qshell start
|
|
|
|
param set SYS_AUTOSTART 4001
|
|
param set SYS_AUTOCONFIG 1
|
|
param set MAV_TYPE 2
|
|
param set MC_YAW_P 1.5
|
|
param set MC_PITCH_P 3.0
|
|
param set MC_ROLL_P 3.0
|
|
param set MC_YAWRATE_P 0.2
|
|
param set MC_PITCHRATE_P 0.03
|
|
param set MC_ROLLRATE_P 0.03
|
|
|
|
sleep 1
|
|
rc_update start
|
|
commander start -hil
|
|
sensors start
|
|
ekf2 start
|
|
mc_hover_thrust_estimator start
|
|
mc_pos_control start
|
|
mc_att_control start
|
|
mc_rate_control start
|
|
land_detector start multicopter
|
|
sleep 1
|
|
pwm_out_sim start
|
|
mixer load /dev/pwm_output0 /startup/quad_x.main.mix
|
|
list_files
|
|
list_tasks
|
|
sleep 10
|
|
list_tasks
|
|
sleep 10
|