31 return _b_positionAccel;
36 return _b_positionGyro;
41 return _b_positionMag;
47 return _b_quatAccel_p;
52 return _b_quatAccel_p.conjugate();
63 return _b_quatGyro_p.conjugate();
74 return _b_quatMag_p.conjugate();
79 Eigen::Vector3d _b_positionAccel = { 0, 0, 0 };
81 Eigen::Vector3d _b_positionGyro = { 0, 0, 0 };
83 Eigen::Vector3d _b_positionMag = { 0, 0, 0 };
86 Eigen::Quaterniond _b_quatAccel_p = Eigen::Quaterniond::Identity();
88 Eigen::Quaterniond _b_quatGyro_p = { 1, 0, 0, 0 };
90 Eigen::Quaterniond _b_quatMag_p = { 1, 0, 0, 0 };
93 friend class MultiImuFile;
nlohmann::json json
json namespace
Definition FlowManager.hpp:21
void from_json(const json &j, ImColor &color)
Converts the provided json object into a color.
void to_json(json &j, const ImColor &color)
Converts the provided color into a json object.
IMU Position.
Definition ImuPos.hpp:26
const Eigen::Vector3d & b_positionGyro() const
Gyroscope position in body frame coordinates in [m].
Definition ImuPos.hpp:34
friend void from_json(const json &j, ImuPos &pos)
Read info from a json object.
const Eigen::Vector3d & b_positionMag() const
Magnetometer position in body frame coordinates in [m].
Definition ImuPos.hpp:39
Eigen::Quaterniond p_quatAccel_b() const
Quaternion from body frame to accelerometer platform frame.
Definition ImuPos.hpp:50
const Eigen::Quaterniond & b_quatGyro_p() const
Quaternion from gyroscope platform frame to body frame.
Definition ImuPos.hpp:56
Eigen::Quaterniond p_quatMag_b() const
Quaternion from body frame to magnetometer platform frame.
Definition ImuPos.hpp:72
const Eigen::Vector3d & b_positionAccel() const
Accelerometer position in body frame coordinates in [m].
Definition ImuPos.hpp:29
const Eigen::Quaterniond & b_quatMag_p() const
Quaternion from magnetometer platform frame to body frame.
Definition ImuPos.hpp:67
const Eigen::Quaterniond & b_quatAccel_p() const
Quaternion from accelerometer platform frame to body frame.
Definition ImuPos.hpp:45
Eigen::Quaterniond p_quatGyro_b() const
Quaternion from body frame to gyroscope platform frame.
Definition ImuPos.hpp:61