|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
18 #ifndef ESTIMATORLIB_IESTIMATOR2_HPP_
19 #define ESTIMATORLIB_IESTIMATOR2_HPP_
24 #include <Eigen/Dense>
26 #include "modules/Estimatorv2/Estimator_common.hpp"
40 virtual Eigen::VectorXd
update(
const float dT = 1) = 0;
48 virtual Eigen::VectorXd
update(
49 const std::vector<std::tuple<Eigen::VectorXd, Eigen::Matrix2d, bool> > &measurements,
const float dT = 1
53 virtual void reset() = 0;
56 virtual Eigen::VectorXd
getStates()
const = 0;
68 virtual std::tuple<Eigen::VectorXd, Eigen::MatrixXd>
getStatesWithCov()
const = 0;
83 virtual uint32_t
getAge()
const = 0;
96 virtual void overrideState(
const Eigen::Vector2d& position,
const Eigen::Vector2d& velocity) = 0;
99 #endif // ESTIMATORLIB_IESTIMATOR2_HPP_
virtual const STATE_ESTIMATOR_TYPES getStateEstimatorType()=0
Return the configured state-estimator type.
virtual std::tuple< Eigen::VectorXd, Eigen::MatrixXd > getStatesWithCov() const =0
Return the current states and their covariance.
virtual std::tuple< Eigen::VectorXd, Eigen::MatrixXd > getPredictedStatesWithCov(const float dT=1)=0
Predict states and covariance without modifying the current estimate.
virtual uint32_t getAge() const =0
Return the number of estimator updates.
virtual const bool useAspectRatio() const =0
Return whether the estimator represents size using aspect ratio.
STATE_ESTIMATOR_TYPES
State-estimator implementations that can be selected by configuration.
virtual Eigen::VectorXd getStates() const =0
Return the current estimated states.
virtual void reset()=0
Reset the states and make the age to be zero.
virtual Eigen::VectorXd getPredictedStates(const float dT=1)=0
Predict states without modifying the current estimate.
virtual ~IEstimator2()
Destroy the state-estimator interface.
Define the interface for state estimators.
virtual void overrideState(const Eigen::Vector2d &position, const Eigen::Vector2d &velocity)=0
Overwrite the position and velocity components.
virtual Eigen::MatrixXd getMeasurementNoiseCovariance() const =0
Return the measurement-noise covariance matrix.
virtual std::tuple< Eigen::VectorXd, Eigen::MatrixXd > getPredictedMeasurementsWithCov(const float dT=1)=0
Predict measurements and covariance without modifying the current estimate.
virtual Eigen::VectorXd update(const float dT=1)=0
Update without any measurement, using the prediction only.