pose_estimation
Measurement.hpp
Go to the documentation of this file.
1 #ifndef _POSE_ESTIMATION_MEASUREMENT_HPP
2 #define _POSE_ESTIMATION_MEASUREMENT_HPP
3 
4 #include <Eigen/Core>
5 
6 #define MEASUREMENT(NAME, DIM) \
7 struct NAME \
8 { \
9 typedef Eigen::Matrix<double, DIM, 1> Mu; \
10 typedef Eigen::Matrix<double, DIM, DIM> Cov; \
11  \
12 NAME() : mu(Mu::Zero()), cov(Cov::Identity()) {} \
13  \
14 Mu mu; \
15 Cov cov; \
16 };
17 
18 
19 #endif