Go to the documentation of this file.
22 #ifndef OV_TYPE_TYPE_VEC_H
23 #define OV_TYPE_TYPE_VEC_H
40 _value = Eigen::VectorXd::Zero(dim);
41 _fej = Eigen::VectorXd::Zero(dim);
55 void update(
const Eigen::VectorXd &dx)
override {
56 assert(dx.rows() ==
_size);
63 std::shared_ptr<Type>
clone()
override {
64 auto Clone = std::shared_ptr<Type>(
new Vec(
_size));
65 Clone->set_value(
value());
66 Clone->set_fej(
fej());
73 #endif // OV_TYPE_TYPE_VEC_H
int _size
Dimension of error state.
virtual void set_value(const Eigen::MatrixXd &new_value)
Overwrite value of state's estimate.
std::shared_ptr< Type > clone() override
Performs all the cloning.
void update(const Eigen::VectorXd &dx) override
Implements the update operation through standard vector addition.
virtual const Eigen::MatrixXd & value() const
Access variable's estimate.
Vec(int dim)
Default constructor for Vec.
Dynamic type system types.
virtual const Eigen::MatrixXd & fej() const
Access variable's first-estimate.
Eigen::MatrixXd _fej
First-estimate.
Eigen::MatrixXd _value
Current best estimate.
Derived Type class that implements vector variables.
Base class for estimated variables.
ov_core
Author(s): Patrick Geneva
, Kevin Eckenhoff , Guoquan Huang
autogenerated on Mon Dec 16 2024 03:06:46