Dummy state estimator whose prediction is identical to the last known states.
Definition at line 57 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.


Public Member Functions | |
| DummyEstimator2 (const std::string &configFilePath, const int numTotalStates=4, const int numObservStates=4) | |
| Construct a dummy state estimator from configuration. More... | |
| ~DummyEstimator2 () | |
| Destroy the dummy state estimator. More... | |
| void | reset () override |
| Reset the states and make the age to be zero. More... | |
| Eigen::VectorXd | update (const float dT=1) override |
| Update without any measurement, using the prediction only. More... | |
| Eigen::VectorXd | update (const std::vector< std::tuple< Eigen::VectorXd, Eigen::Matrix2d, bool > > &measurements, const float dT=1) override |
| Given a set of measurements and their covariances, update the estimator and returns the estimated states. More... | |
| Eigen::VectorXd | getStates () const override |
| Return the current estimated states. More... | |
| Eigen::VectorXd | getPredictedStates (const float dT=1) override |
| Predict states without modifying the current estimate. More... | |
| Eigen::MatrixXd | getMeasurementNoiseCovariance () const override |
| Return the measurement-noise covariance matrix. More... | |
| std::tuple< Eigen::VectorXd, Eigen::MatrixXd > | getStatesWithCov () const override |
| Return the current states and their covariance. More... | |
| std::tuple< Eigen::VectorXd, Eigen::MatrixXd > | getPredictedStatesWithCov (const float dT=1) override |
| Predict states and covariance without modifying the current estimate. More... | |
| std::tuple< Eigen::VectorXd, Eigen::MatrixXd > | getPredictedMeasurementsWithCov (const float dT=1) override |
| Predict measurements and covariance without modifying the current estimate. More... | |
| uint32_t | getAge () const override |
| Return the number of estimator updates. More... | |
| const STATE_ESTIMATOR_TYPES | getStateEstimatorType () override |
| Return the configured state-estimator type. More... | |
| const bool | useAspectRatio () const override |
| Return whether the estimator represents size using aspect ratio. More... | |
| void | overrideState (const Eigen::Vector2d &position, const Eigen::Vector2d &velocity) override |
| Overwrite the position and velocity components. More... | |
| DummyEstimator2 (const std::string &configFilePath, const int numTotalStates=4, const int numObservStates=4) | |
| Construct a dummy state estimator from configuration. More... | |
| ~DummyEstimator2 () | |
| Destroy the dummy state estimator. More... | |
| void | reset () override |
| Reset the states and make the age to be zero. More... | |
| Eigen::VectorXd | update (const float dT=1) override |
| Update without any measurement, using the prediction only. More... | |
| Eigen::VectorXd | update (const std::vector< std::tuple< Eigen::VectorXd, Eigen::Matrix2d, bool > > &measurements, const float dT=1) override |
| Given a set of measurements and their covariances, update the estimator and returns the estimated states. More... | |
| Eigen::VectorXd | getStates () const override |
| Return the current estimated states. More... | |
| Eigen::VectorXd | getPredictedStates (const float dT=1) override |
| Predict states without modifying the current estimate. More... | |
| Eigen::MatrixXd | getMeasurementNoiseCovariance () const override |
| Return the measurement-noise covariance matrix. More... | |
| std::tuple< Eigen::VectorXd, Eigen::MatrixXd > | getStatesWithCov () const override |
| Return the current states and their covariance. More... | |
| std::tuple< Eigen::VectorXd, Eigen::MatrixXd > | getPredictedStatesWithCov (const float dT=1) override |
| Predict states and covariance without modifying the current estimate. More... | |
| std::tuple< Eigen::VectorXd, Eigen::MatrixXd > | getPredictedMeasurementsWithCov (const float dT=1) override |
| Predict measurements and covariance without modifying the current estimate. More... | |
| uint32_t | getAge () const override |
| Return the number of estimator updates. More... | |
| const STATE_ESTIMATOR_TYPES | getStateEstimatorType () override |
| Return the configured state-estimator type. More... | |
| const bool | useAspectRatio () const override |
| Return whether the estimator represents size using aspect ratio. More... | |
| void | overrideState (const Eigen::Vector2d &position, const Eigen::Vector2d &velocity) override |
| Overwrite the position and velocity components. More... | |
Protected Member Functions | |
| void | initStates () |
| Initialize all the target states. More... | |
| void | initStates () |
| Initialize all the target states. More... | |
Protected Attributes | |
| DummyEstimatorParams2 | m_params |
| Stores configuration parameters for the state-estimation module. More... | |
| const int | m_numTotalStates |
| Specifies the total number of estimated states. More... | |
| const int | m_numObservStates |
| Specifies the number of observed states. More... | |
| Eigen::VectorXd | m_X |
| Estimated states. More... | |
| Eigen::MatrixXd | m_P |
| Estimate error covariance. More... | |
| uint32_t | m_age |
| Counts estimator updates. More... | |
| DummyEstimator2::DummyEstimator2 | ( | const std::string & | configFilePath, |
| const int | numTotalStates = 4, |
||
| const int | numObservStates = 4 |
||
| ) |
Construct a dummy state estimator from configuration.
| [in] | configFilePath | The path to a config file. |
| [in] | numTotalStates | The # of total states to be estimated. |
| [in] | numObservStates | The # of observation (i.e., measurement) states. |
| DummyEstimator2::~DummyEstimator2 | ( | ) |
Destroy the dummy state estimator.
| DummyEstimator2::DummyEstimator2 | ( | const std::string & | configFilePath, |
| const int | numTotalStates = 4, |
||
| const int | numObservStates = 4 |
||
| ) |
Construct a dummy state estimator from configuration.
| [in] | configFilePath | The path to a config file. |
| [in] | numTotalStates | The # of total states to be estimated. |
| [in] | numObservStates | The # of observation (i.e., measurement) states. |
| DummyEstimator2::~DummyEstimator2 | ( | ) |
Destroy the dummy state estimator.
|
inlineoverridevirtual |
Return the number of estimator updates.
Implements IEstimator2.
Definition at line 125 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
References m_age.
|
inlineoverridevirtual |
Return the number of estimator updates.
Implements IEstimator2.
Definition at line 125 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
References m_age.
|
inlineoverridevirtual |
Return the measurement-noise covariance matrix.
Implements IEstimator2.
Definition at line 101 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
References m_P.
|
inlineoverridevirtual |
Return the measurement-noise covariance matrix.
Implements IEstimator2.
Definition at line 101 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
References m_P.
|
inlineoverridevirtual |
Predict measurements and covariance without modifying the current estimate.
| [in] | dT | The time step. |
Implements IEstimator2.
Definition at line 119 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
|
inlineoverridevirtual |
Predict measurements and covariance without modifying the current estimate.
| [in] | dT | The time step. |
Implements IEstimator2.
Definition at line 119 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
|
inlineoverridevirtual |
Predict states without modifying the current estimate.
| [in] | dT | The time step. |
Implements IEstimator2.
Definition at line 98 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
References m_X.
|
inlineoverridevirtual |
Predict states without modifying the current estimate.
| [in] | dT | The time step. |
Implements IEstimator2.
Definition at line 98 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
References m_X.
|
inlineoverridevirtual |
Predict states and covariance without modifying the current estimate.
| [in] | dT | The time step. |
Implements IEstimator2.
Definition at line 110 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
|
inlineoverridevirtual |
Predict states and covariance without modifying the current estimate.
| [in] | dT | The time step. |
Implements IEstimator2.
Definition at line 110 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
|
inlineoverridevirtual |
Return the configured state-estimator type.
Implements IEstimator2.
Definition at line 128 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
References m_params, and DummyEstimatorParams2::m_stateEstimatorType.
|
inlineoverridevirtual |
Return the configured state-estimator type.
Implements IEstimator2.
Definition at line 128 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
References m_params, and DummyEstimatorParams2::m_stateEstimatorType.
|
inlineoverridevirtual |
Return the current estimated states.
Implements IEstimator2.
Definition at line 92 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
References m_X.
|
inlineoverridevirtual |
Return the current estimated states.
Implements IEstimator2.
Definition at line 92 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
References m_X.
|
inlineoverridevirtual |
Return the current states and their covariance.
Implements IEstimator2.
Definition at line 104 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
|
inlineoverridevirtual |
Return the current states and their covariance.
Implements IEstimator2.
Definition at line 104 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
|
protected |
Initialize all the target states.
|
protected |
Initialize all the target states.
|
inlineoverridevirtual |
Overwrite the position and velocity components.
| [in] | position | The replacement position. |
| [in] | velocity | The replacement velocity. |
Implements IEstimator2.
Definition at line 138 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
References m_X.
|
inlineoverridevirtual |
Overwrite the position and velocity components.
| [in] | position | The replacement position. |
| [in] | velocity | The replacement velocity. |
Implements IEstimator2.
Definition at line 138 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
References m_X.
|
overridevirtual |
Reset the states and make the age to be zero.
Implements IEstimator2.
|
overridevirtual |
Reset the states and make the age to be zero.
Implements IEstimator2.
|
overridevirtual |
Update without any measurement, using the prediction only.
| [in] | dT | The time step. |
Implements IEstimator2.
|
overridevirtual |
Update without any measurement, using the prediction only.
| [in] | dT | The time step. |
Implements IEstimator2.
|
overridevirtual |
Given a set of measurements and their covariances, update the estimator and returns the estimated states.
| [in] | measurements | A set of (measurement, covariance, isFromDetector) tuples. Pass a negative identity covariance to select the default measurement noise. A positive covariance(0,0) uses the provided noise. |
| [in] | dT | The time step. |
Implements IEstimator2.
|
overridevirtual |
Given a set of measurements and their covariances, update the estimator and returns the estimated states.
| [in] | measurements | A set of (measurement, covariance, isFromDetector) tuples. Pass a negative identity covariance to select the default measurement noise. A positive covariance(0,0) uses the provided noise. |
| [in] | dT | The time step. |
Implements IEstimator2.
|
inlineoverridevirtual |
Return whether the estimator represents size using aspect ratio.
Implements IEstimator2.
Definition at line 131 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
|
inlineoverridevirtual |
Return whether the estimator represents size using aspect ratio.
Implements IEstimator2.
Definition at line 131 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
|
protected |
Counts estimator updates.
Definition at line 151 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
Referenced by getAge().
|
protected |
Specifies the number of observed states.
Definition at line 146 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
|
protected |
Specifies the total number of estimated states.
Definition at line 145 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
|
protected |
Estimate error covariance.
Definition at line 150 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
Referenced by getMeasurementNoiseCovariance(), getPredictedMeasurementsWithCov(), getPredictedStatesWithCov(), and getStatesWithCov().
|
protected |
Stores configuration parameters for the state-estimation module.
Definition at line 144 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
Referenced by getStateEstimatorType().
|
protected |
Estimated states.
Definition at line 149 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.
Referenced by getPredictedMeasurementsWithCov(), getPredictedStates(), getPredictedStatesWithCov(), getStates(), getStatesWithCov(), and overrideState().