11 #ifndef MAG_SENSOR_STATE_TYPE_H
12 #define MAG_SENSOR_STATE_TYPE_H
15 #include <Eigen/Dense>
22 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
37 os <<
"mag_w_x, mag_w_y, mag_w_z, ";
38 os <<
"q_im_w, q_im_x, q_im_y, q_im_z";
54 os <<
", " <<
mag_(0) <<
", " <<
mag_(1) <<
", " <<
mag_(2);
55 Eigen::Vector4d q_im =
q_im_.coeffs();
56 os <<
", " << q_im(3) <<
", " << q_im(0) <<
", " << q_im(1) <<
", " << q_im(2);
The BaseStates class is used to ensure that all sensor data classes define a covariance size for the ...
Definition: base_states.h:23
Definition: mag_sensor_state_type.h:20
Eigen::Quaterniond q_im_
Definition: mag_sensor_state_type.h:25
std::string to_csv_string(const double ×tamp) const
to_csv_string export state to single csv string
Definition: mag_sensor_state_type.h:48
MagSensorStateType()
Definition: mag_sensor_state_type.h:27
static std::string get_csv_state_header_string()
Definition: mag_sensor_state_type.h:33
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Eigen::Vector3d mag_
Definition: mag_sensor_state_type.h:24