mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 09:22:18 +00:00
27 lines
487 B
Plaintext
27 lines
487 B
Plaintext
|
|
#!/bin/sh
|
||
|
|
#
|
||
|
|
# Standard apps for new control allocation and controllers
|
||
|
|
#
|
||
|
|
# NOTE: Script variables are declared/initialized/unset in the rcS script.
|
||
|
|
#
|
||
|
|
|
||
|
|
#
|
||
|
|
# Start angular velocity controller
|
||
|
|
#
|
||
|
|
angular_velocity_controller start
|
||
|
|
mc_rate_control stop
|
||
|
|
|
||
|
|
#
|
||
|
|
# Start Control Allocator
|
||
|
|
#
|
||
|
|
control_allocator start
|
||
|
|
|
||
|
|
#
|
||
|
|
# Disable hover thrust estimator and prearming
|
||
|
|
# These features are currently incompatible with control allocation
|
||
|
|
#
|
||
|
|
# TODO: fix
|
||
|
|
#
|
||
|
|
param set MPC_USE_HTE 0
|
||
|
|
param set COM_PREARM_MODE 0
|