|
Calico
A visual-inertial calibration library designed for rapid problem construction and debugging.
|
#include <gyroscope_models.h>


Public Member Functions | |
| GyroscopeScaleAndBiasModel & | operator= (const GyroscopeScaleAndBiasModel &)=default |
| GyroscopeIntrinsicsModel | GetType () const final |
| Getter for gyroscope model type. | |
| int | NumberOfParameters () const final |
| Getter for the number of parameters for this model. | |
Public Member Functions inherited from calico::sensors::GyroscopeModel | |
| template<typename T > | |
| absl::StatusOr< Eigen::Vector3< T > > | Project (const Eigen::VectorX< T > &intrinsics, const Eigen::Vector3< T > &omega_sensor_world) const |
| template<typename T > | |
| absl::StatusOr< Eigen::Vector3< T > > | Unproject (const Eigen::VectorX< T > &intrinsics, const Eigen::Vector3< T > &measurement) const |
Static Public Member Functions | |
| template<typename T > | |
| static absl::StatusOr< Eigen::Vector3< T > > | Project (const Eigen::VectorX< T > &intrinsics, const Eigen::Vector3< T > &omega_sensor_world) |
| template<typename T > | |
| static absl::StatusOr< Eigen::Vector3< T > > | Unproject (const Eigen::VectorX< T > &intrinsics, const Eigen::Vector3< T > &measurement) |
Static Public Member Functions inherited from calico::sensors::GyroscopeModel | |
| static std::unique_ptr< GyroscopeModel > | Create (GyroscopeIntrinsicsModel gyroscope_model) |
Static Public Attributes | |
| static constexpr int | kNumberOfParameters = 4 |
| static constexpr GyroscopeIntrinsicsModel | kModelType = GyroscopeIntrinsicsModel::kGyroscopeScaleAndBias |
4-parameter scale + bias intrinsics model. Parameter order: \([s, b_x, b_y, b_z]\)
|
inlinestatic |
Returns measurement \(\mathbf{f}\), a 3-D vector such that
\[ \mathbf{f} = s\boldsymbol{\omega}^s_{ws} + \left[\begin{matrix}b_x\\b_y\\b_z\end{matrix}\right] \]
|
inlinestatic |
Inverts the measurement model to obtain angular rate as observed by the sensor.
\[ \boldsymbol{\omega}^s_{ws} = \frac{1}{s}\left(\mathbf{f} - \left[\begin{matrix}b_x\\b_y\\b_z\end{matrix}\right]\right) \]