11 #ifndef BASESENSORDATA_H
12 #define BASESENSORDATA_H
16 #include <Eigen/Dense>
30 static_assert(std::is_base_of<BaseStates, T>::value,
"Type T must inherit from Class BaseStates");
33 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
66 Eigen::MatrixXd full_cov;
The BaseSensorData class binds the sensor state and covariance matrix.
Definition: bind_sensor_data.h:29
EIGEN_MAKE_ALIGNED_OPERATOR_NEW T state_
Definition: bind_sensor_data.h:30
BindSensorData()
Definition: bind_sensor_data.h:40
int full_cov_size_
size of the full covariance
Definition: bind_sensor_data.h:36
void set_cov(const Eigen::MatrixXd &cov)
set_cov Takes a full covariance and separates sensor covariance and sensor-core cross-correlation
Definition: bind_sensor_data.h:51
Eigen::MatrixXd get_full_cov() const
get_full_cov builds the full covariance matrix
Definition: bind_sensor_data.h:63
Eigen::MatrixXd core_sensor_cross_cov_
cross-correlation between sensor states and the core
Definition: bind_sensor_data.h:38
Eigen::MatrixXd sensor_cov_
covariance of the sensor states
Definition: bind_sensor_data.h:37
static constexpr int size_error_
Definition: core_state_type.h:38