19 :
Measurement(
"ImuMeasurement"), I_a_WI{0, 0, 0}, I_w_WI{0, 0, 0} {}
28 stream <<
"IMU Measurement at time = " << meas.
time <<
" : \n" 29 <<
"dt : " << meas.
dt <<
"\n" 30 <<
"I_a_WI: " << meas.
I_a_WI.transpose() <<
"\n" 31 <<
"I_w_WI: " << meas.
I_w_WI.transpose() <<
"\n";
This is the base class for all measurement types.
Eigen::Vector3d I_a_WI
Raw acceleration from the IMU (m/s/s)
friend std::ostream & operator<<(std::ostream &stream, const ImuMeasurement &meas)
~ImuMeasurement() override
Name name
Unique string identifier.
EIGEN_MAKE_ALIGNED_OPERATOR_NEW size_t dt
Time since the last message of this type (nanoseconds).
Eigen::Vector3d I_w_WI
Raw angular velocity from the IMU (rad/s)
size_t time
The type of message (to enable dynamic/static casting).
Contains data from the IMU mesaurements.