21 #ifndef MOTION_MODEL__PARAMETER_ESTIMATOR_HPP_ 22 #define MOTION_MODEL__PARAMETER_ESTIMATOR_HPP_ 34 namespace motion_model
39 template<
int32_t NumStates>
49 m_state = rhs.m_state;
62 Eigen::Matrix<float32_t, NumStates, 1U> &
x,
63 const std::chrono::nanoseconds & dt)
const override 75 void predict(
const std::chrono::nanoseconds & dt)
override 85 Eigen::Matrix<float32_t, NumStates, NumStates> & F,
86 const std::chrono::nanoseconds & dt)
override 99 Eigen::Matrix<float32_t, NumStates, NumStates> & F,
100 const std::chrono::nanoseconds & dt)
override 114 void reset(
const Eigen::Matrix<float32_t, NumStates, 1U> &
x)
override 120 const Eigen::Matrix<float32_t, NumStates, 1U> &
get_state()
const override 126 Eigen::Matrix<float32_t, NumStates, 1U> m_state;
133 #endif // MOTION_MODEL__PARAMETER_ESTIMATOR_HPP_ void predict(Eigen::Matrix< float32_t, NumStates, 1U > &x, const std::chrono::nanoseconds &dt) const override
Do motion based on current state, store result somewhere else. This is intended to be used with motio...
Definition: parameter_estimator.hpp:61
ParameterEstimator & operator=(const ParameterEstimator &rhs)
Default assignment operator.
Definition: parameter_estimator.hpp:46
float float32_t
Definition: types.hpp:36
void predict(const std::chrono::nanoseconds &dt) override
Update current state with a given motion. Note that this should be called after compute_jacobian() as...
Definition: parameter_estimator.hpp:75
This file includes common type definition.
const Eigen::Matrix< float32_t, NumStates, 1U > & get_state() const override
const access to internal state
Definition: parameter_estimator.hpp:120
void compute_jacobian(Eigen::Matrix< float32_t, NumStates, NumStates > &F, const std::chrono::nanoseconds &dt) override
Compute the jacobian based on the current state and store the result somewhere else.
Definition: parameter_estimator.hpp:84
void compute_jacobian_and_predict(Eigen::Matrix< float32_t, NumStates, NumStates > &F, const std::chrono::nanoseconds &dt) override
This is called by Esrcf. This should be first a computation of the jacobian, and then a motion to upd...
Definition: parameter_estimator.hpp:98
DifferentialState x
Definition: kinematic_bicycle.snippet.hpp:28
Definition: controller_base.hpp:30
Simple "motion model" with no dynamics for parameter estimation.
Definition: parameter_estimator.hpp:40
void reset(const Eigen::Matrix< float32_t, NumStates, 1U > &x) override
Set the state.
Definition: parameter_estimator.hpp:114
This file defines the motion model interface used by kalman filters.
Eigen::Index index_t
indexing matches what matrices use
Definition: motion_model.hpp:41
Virtual interface for all motion models for use with prediction.
Definition: motion_model.hpp:46
float32_t operator[](const motion_model::index_t idx) const override
Get elements of the model's state.
Definition: parameter_estimator.hpp:108
This file defines the lanelet2_map_provider_node class.
Definition: quick_sort.hpp:24