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>
38 lines
766 B
Plaintext
38 lines
766 B
Plaintext
uorb start
|
|
qshell start
|
|
param set SYS_AUTOSTART 4001
|
|
param set MAV_TYPE 2
|
|
param set MC_YAW_P 12
|
|
param set MC_YAWRATE_P 0.08
|
|
param set MC_YAWRATE_I 0.0
|
|
param set MC_YAWRATE_D 0
|
|
param set MC_PITCH_P 7.0
|
|
param set MC_PITCHRATE_P 0.08
|
|
param set MC_PITCHRATE_I 0.0
|
|
param set MC_PITCHRATE_D 0.001
|
|
param set MC_ROLL_P 7.0
|
|
param set MC_ROLLRATE_P 0.08
|
|
param set MC_ROLLRATE_I 0.0
|
|
param set MC_ROLLRATE_D 0.001
|
|
param set SENS_BOARD_ROT 0
|
|
|
|
|
|
sleep 1
|
|
mpu9250 start
|
|
bmp280 start
|
|
gps start -d /dev/tty-4
|
|
rc_update start
|
|
sensors start
|
|
commander start
|
|
ekf2 start
|
|
land_detector start multicopter
|
|
mc_hover_thrust_estimator start
|
|
mc_pos_control start
|
|
mc_att_control start
|
|
mc_rate_control start
|
|
uart_esc start -D /dev/tty-2
|
|
spektrum_rc start -d /dev/tty-1
|
|
sleep 1
|
|
list_files
|
|
list_tasks
|