|
Monado OpenXR Runtime
|
The strength of gravity in the world, as a parameter block of its own. More...
#include </builds/monado/monado/src/xrt/tracking/constellation/optimizer/internal_math.hpp>
Public Member Functions | |
| WorldGravity (T gravity_mag) | |
| WorldGravity (Eigen::Ref< const Vector< T, kNumParameters > > parameters) | |
| void | pack (Eigen::Ref< Vector< T, kNumParameters > > parameters) const |
| Vector3< T > | toVector () const |
| Gravity as a vector, which points along +Y since world up is -Y in the OpenCV space the optimizer works in. | |
Data Fields | |
| T | gravity_mag |
| Gravity in meters per second squared. | |
Static Public Attributes | |
| static constexpr int | kNumParameters = 1 |
| static constexpr int | kGravityMagIndex = 0 |
The strength of gravity in the world, as a parameter block of its own.
This is a property of where the capture was taken rather than of any one sensor, so every IMU in a solve shares this single block while each keeps its own ImuBias.
|
inline |
Gravity as a vector, which points along +Y since world up is -Y in the OpenCV space the optimizer works in.
| T xrt::tracking::constellation::optimizer::WorldGravity< T >::gravity_mag |
Gravity in meters per second squared.