78 void init(
const Eigen::Vector3f& los_init,
float los_std_init = 0.1f,
79 float los_rate_std_init = 0.1f);
100 void predict(
float dt,
float los_rate_process_nsd = 0.1f);
108 void update(
const Eigen::Vector3f& los_measurement,
float los_variance);
167 std::shared_ptr<LosFilterImpl> _impl;
Implementation details for the Line Of Sight Filter class.
A filter for estimating Line-of-Sight (LOS) vectors and their rates.
Definition los_filter.hpp:57
Eigen::Vector3f getLOSRate() const
Gets the current estimated LOS rate.
Eigen::MatrixXf getStateVariance() const
Gets the state variance matrix.
void init(const Eigen::Vector3f &los_init, float los_std_init=0.1f, float los_rate_std_init=0.1f)
Initializes the filter with a given LOS vector.
Eigen::MatrixXf getLOSRateVariance() const
Gets the variance of the LOS rate estimates.
Eigen::Vector3f getLOSInnovVar() const
Gets the variance of the LOS innovation.
const Eigen::MatrixXf getCovariance() const
Gets the covariance matrix of the state.
Eigen::MatrixXf getLOSVariance() const
Gets the variance of the LOS estimates.
Eigen::Vector3f getLOS() const
Gets the current estimated LOS vector.
LosFilter()
Default constructor.
void update(const Eigen::Vector3f &los_measurement, float los_variance)
Updates the filter state with a new LOS measurement.
void init()
Initializes the filter without an initial LOS vector.
void reset()
Resets the filter to the uninitialized state, clearing state and covariance.
void predict(float dt, float los_rate_process_nsd=0.1f)
Predicts the next state of the filter based on elapsed time.
Eigen::Vector3f getLOSInnov() const
Gets the LOS innovation (difference between measurement and prediction).
bool isInitialized() const
Checks whether the filter has been initialized.