Calico
A visual-inertial calibration library designed for rapid problem construction and debugging.
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
calico::sensors::GyroscopeScaleOnlyModel Class Reference

#include <gyroscope_models.h>

Inheritance diagram for calico::sensors::GyroscopeScaleOnlyModel:
Inheritance graph
[legend]
Collaboration diagram for calico::sensors::GyroscopeScaleOnlyModel:
Collaboration graph
[legend]

Public Member Functions

GyroscopeScaleOnlyModeloperator= (const GyroscopeScaleOnlyModel &)=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< GyroscopeModelCreate (GyroscopeIntrinsicsModel gyroscope_model)
 

Static Public Attributes

static constexpr int kNumberOfParameters = 1
 
static constexpr GyroscopeIntrinsicsModel kModelType = GyroscopeIntrinsicsModel::kGyroscopeScaleOnly
 

Detailed Description

1-parameter isotropic scale intrinsics model. \([s]\)

Member Function Documentation

◆ Project()

template<typename T >
static absl::StatusOr<Eigen::Vector3<T> > calico::sensors::GyroscopeScaleOnlyModel::Project ( const Eigen::VectorX< T > &  intrinsics,
const Eigen::Vector3< T > &  omega_sensor_world 
)
inlinestatic

Returns measurement \(\mathbf{f}\), a 3-D vector such that

\[ \mathbf{f} = s\boldsymbol{\omega}^s_{ws} \]



omega_sensor_world is the angular velocity of the sensor relative to the inertial world frame resolved in the sensor frame \(\boldsymbol{\omega}^s_{ws}\).

◆ Unproject()

template<typename T >
static absl::StatusOr<Eigen::Vector3<T> > calico::sensors::GyroscopeScaleOnlyModel::Unproject ( const Eigen::VectorX< T > &  intrinsics,
const Eigen::Vector3< T > &  measurement 
)
inlinestatic

Inverts the measurement model to obtain angular rate as observed by the sensor.

\[ \boldsymbol{\omega}^s_{ws} = \frac{1}{s}\mathbf{f} \]


The documentation for this class was generated from the following file: