|
Monado OpenXR Runtime
|
The LED model -> IMU rotation. More...
#include </builds/monado/monado/src/xrt/tracking/constellation/optimizer/internal_math.hpp>
Public Member Functions | |
| template<typename Derived > | |
| ImuExtrinsics (Quaternion< Derived > quat) | |
| ImuExtrinsics (Eigen::Ref< const Vector< T, kNumParameters > > parameters) | |
| void | pack (Eigen::Ref< Vector< T, kNumParameters > > parameters) const |
| PoseWithVelocity< T > | toWorldImu (const PoseWithVelocity< T > &T_world_model) const |
| The IMU's state given the LED model's. | |
Data Fields | |
| Quaternion< T > | Q_model_imu |
Static Public Attributes | |
| static constexpr int | kNumParameters = 4 |
| (qX, qY, qZ, qW) | |
| static constexpr int | kNumTangentParameters = 3 |
| Degrees of freedom. | |
The LED model -> IMU rotation.
Device keyframe states are LED model poses, which the camera factors constrain directly, and only the IMU factors see the IMU through this rotation on top of them. Solving for it then leaves the poses where the cameras put them, rather than having to walk them the opposite way to keep the LED model still.
|
inline |
The IMU's state given the LED model's.
The two share an origin, so only the orientation differs, and the velocity, being the origin's, carries straight over.
|
staticconstexpr |
(qX, qY, qZ, qW)
|
staticconstexpr |
Degrees of freedom.