mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-16 12:37:34 +08:00
Hotfix: Ensured there are never two filters running at the same time if auto-magic happens via USB link
This commit is contained in:
@@ -22,9 +22,16 @@ commander start
|
||||
sh /etc/init.d/rc.sensors
|
||||
|
||||
# Start one of the estimators
|
||||
if attitude_estimator_ekf start
|
||||
if attitude_estimator_ekf status
|
||||
then
|
||||
echo "estimating attitude"
|
||||
echo "multicopter att filter running"
|
||||
else
|
||||
if att_pos_estimator_ekf status
|
||||
then
|
||||
echo "fixedwing att filter running"
|
||||
else
|
||||
attitude_estimator_ekf start
|
||||
fi
|
||||
fi
|
||||
|
||||
# Start GPS
|
||||
|
||||
Reference in New Issue
Block a user