state-vector-arithmetics.hpp
Go to the documentation of this file.
1 #ifndef STATE_VECTOR_ARITHMETICS_HPP
2 #define STATE_VECTOR_ARITHMETICS_HPP
3 
4 #include <state-observation/api.h>
6 
7 namespace stateObservation
8 {
9 namespace detail
10 {
11 void STATE_OBSERVATION_DLLAPI defaultSum(const Vector & stateVector, const Vector & tangentVector, Vector & result);
12 
13 void STATE_OBSERVATION_DLLAPI defaultDifference(const Vector & stateVector1,
14  const Vector & stateVector2,
15  Vector & difference);
16 
17 } // namespace detail
18 
27 class STATE_OBSERVATION_DLLAPI StateVectorArithmetics
28 {
29 public:
30  virtual void stateSum(const Vector & stateVector, const Vector & tangentVector, Vector & sum);
31 
32  virtual void stateDifference(const Vector & stateVector1, const Vector & stateVector2, Vector & difference);
33 
34  virtual void measurementDifference(const Vector & measureVector1, const Vector & measureVector2, Vector & difference);
35 };
36 } // namespace stateObservation
37 
38 #endif // STATE_VECTOR_ARITHMETICS_HPP
stateObservation::Vector
Eigen::VectorXd Vector
Dynamic sized scalar vector.
Definition: definitions.hpp:76
stateObservation::detail::defaultSum
void STATE_OBSERVATION_DLLAPI defaultSum(const Vector &stateVector, const Vector &tangentVector, Vector &sum)
stateObservation::StateVectorArithmetics
This class is used to customize the way the difference between measurements, the state update functio...
Definition: state-vector-arithmetics.hpp:27
stateObservation::detail::defaultDifference
void STATE_OBSERVATION_DLLAPI defaultDifference(const Vector &stateVector1, const Vector &stateVector2, Vector &difference)
definitions.hpp
Definitions of types and some structures.
stateObservation
Definition: bidim-elastic-inv-pendulum-dyn-sys.hpp:20