25 #ifndef INCLUDED_TrackedBodyIMU_h_GUID_65A86547_8C4C_43B5_906C_361178DCCE06 26 #define INCLUDED_TrackedBodyIMU_h_GUID_65A86547_8C4C_43B5_906C_361178DCCE06 47 double angularVelocityVariance);
49 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
52 TrackedBody const &getBody()
const {
return m_body; }
63 bool hasPoseEstimate()
const {
return m_hasOrientation; }
68 bool calibrationYawKnown()
const {
return m_yawKnown; }
70 using namespace Eigen;
80 return m_yawCorrection;
115 bool m_yawKnown =
false;
120 bool m_useOrientation;
121 double m_orientationVariance;
122 bool m_useAngularVelocity;
123 double m_angularVelocityVariance;
125 bool m_hasRawQuat =
false;
129 bool m_hasOrientation =
false;
137 #endif // INCLUDED_TrackedBodyIMU_h_GUID_65A86547_8C4C_43B5_906C_361178DCCE06 AngleRadiansd Angle
Default angle type.
Definition: Angles.h:63
Definition: RunLoopManager.h:42
void updatePoseFromOrientation(util::time::TimeValue const &tv, Eigen::Quaterniond const &quat)
Processes an orientation.
Definition: TrackedBodyIMU.cpp:49
Eigen::Quaterniond const & getIMUToRoom() const
Gets the transform based on the calibration yaw.
Definition: TrackedBodyIMU.h:79
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
iterative scaling algorithm to equilibrate rows and column norms in matrices
Definition: TestIMU_Common.h:87
Header wrapping include of <Eigen/Core> and <Eigen/Geometry> for warning quieting.
A safe way to store and transport an orientation measurement or an angular velocity measurement witho...
Definition: CannedIMUMeasurement.h:44
AngleAxis< double > AngleAxisd
double precision angle-axis type
Definition: AngleAxis.h:152
General configuration parameters.
Definition: ConfigParams.h:82
void updatePoseFromAngularVelocity(util::time::TimeValue const &tv, Eigen::Quaterniond const &deltaquat, double dt)
Processes an angular velocity.
Definition: TrackedBodyIMU.cpp:82
Definition: TrackedBodyIMU.h:44
Header providing a C++ wrapper around TimeValueC.h.
This is the class representing a tracked rigid body in the system.
Definition: TrackedBody.h:56
Definition: Quaternion.h:47
Quaternion< double > Quaterniond
double precision quaternion type
Definition: Quaternion.h:211
Y getRadians(AngleGeneric< System, Y > const angle)
Get the raw scalar value of your angle in radians.
Definition: Angles.h:67
Standardized, portable parallel to struct timeval for representing both absolute times and time inter...
Definition: TimeValueC.h:81
Eigen::Quaterniond const & getPoseEstimate() const
This estimate incorporates the calibration yaw correction.
Definition: TrackedBodyIMU.h:66