mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 01:33:34 +08:00
- ekf2 can now run in multi-instance mode (currently up to 9 instances)
- in multi mode all estimates are published to alternate topics (eg estimator_attitude instead of vehicle_attitude)
- new ekf2 selector runs in multi-instance mode to monitor and compare all instances, selecting a primary (eg N x estimator_attitude => vehicle_attitude)
- sensors module accel & gyro inconsistency checks are now relative to the mean of all instances, rather than the current primary (when active ekf2 selector is responsible for choosing primary accel & gyro)
- existing consumers of estimator_status must check estimator_selector_status to select current primary instance status
- ekf2 single instance mode is still fully supported and the default
Co-authored-by: Paul Riseborough <gncsolns@gmail.com>
34 lines
991 B
Bash
34 lines
991 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
|