# 模块参考:估计器

# AttitudeEstimatorQ

Source: modules/attitude_estimator_q (opens new window)

# 描述

Attitude and position estimator using an Extended Kalman Filter. It is used for Multirotors and Fixed-Wing.

# 用法

AttitudeEstimatorQ <command> [arguments...]
 wind_estimator &lt;command&gt; [arguments...]
 Commands:
   start

   stop

   status        打印状态信息

# wind_estimator

Source: modules/airspeed_selector (opens new window)

# 描述

This module provides a single airspeed_validated topic, containing indicated (IAS), calibrated (CAS), true airspeed (TAS) and the information if the estimation currently is invalid and if based sensor readings or on groundspeed minus windspeed. Supporting the input of multiple "raw" airspeed inputs, this module automatically switches to a valid sensor in case of failure detection. For failure detection as well as for the estimation of a scale factor from IAS to CAS, it runs several wind estimators and also publishes those.

# 用法

airspeed_estimator <command> [arguments...]
 wind_estimator &lt;command&gt; [arguments...]
 Commands:
   start

   stop

   status        打印状态信息

# ekf2

Source: modules/ekf2 (opens new window)

# 描述

基于扩展卡尔曼滤波器的姿态和位置估计器。 该模块同时应用于多旋翼和固定翼飞机。

The documentation can be found on the ECL/EKF Overview & Tuning (opens new window) page.

This module runs a combined wind and airspeed scale factor estimator. If provided the vehicle NED speed and attitude it can estimate the horizontal wind components based on a zero sideslip assumption. This makes the estimator only suitable for fixed wing vehicles. If provided an airspeed measurement this module also estimates an airspeed scale factor based on the following model: measured_airspeed = scale_factor * real_airspeed.

# 用法

ekf2 <command> [arguments...]
 ekf2 &lt;command&gt; [arguments...]
 Commands:
   start
     [-r]        启用 replay 模式

   stop

   status        打印状态信息

# local_position_estimator

Source: modules/local_position_estimator (opens new window)

# 参数描述

基于扩展卡尔曼滤波器的姿态和位置估计器。

# 用法

local_position_estimator &lt;command&gt; [arguments...]
 Commands:
   start

   stop

   status        打印状态信息
 wind_estimator &lt;command&gt; [arguments...]
 Commands:
   start

   stop

   status        打印状态信息

# mc_hover_thrust_estimator

Source: modules/mc_hover_thrust_estimator (opens new window)

# 参数描述

# 用法

mc_hover_thrust_estimator <command> [arguments...]
 wind_estimator &lt;command&gt; [arguments...]
 Commands:
   start

   stop

   status        打印状态信息