mrs_lib
Various reusable classes, functions and utilities for use in MRS projects
mrs_lib::LKF< n_states, n_inputs, n_measurements >::inverse_exception Struct Reference

This exception is thrown when taking the inverse of a matrix fails. More...

#include <lkf.h>

+ Inheritance diagram for mrs_lib::LKF< n_states, n_inputs, n_measurements >::inverse_exception:
+ Collaboration diagram for mrs_lib::LKF< n_states, n_inputs, n_measurements >::inverse_exception:

Public Member Functions

const char * what () const throw ()
 Returns the error message, describing what caused the exception. More...
 

Detailed Description

template<int n_states, int n_inputs, int n_measurements>
struct mrs_lib::LKF< n_states, n_inputs, n_measurements >::inverse_exception

This exception is thrown when taking the inverse of a matrix fails.

You should catch this exception in your code and act accordingly if it appears (e.g. reset the state and covariance or modify the measurement/process noise parameters).

Member Function Documentation

◆ what()

template<int n_states, int n_inputs, int n_measurements>
const char* mrs_lib::LKF< n_states, n_inputs, n_measurements >::inverse_exception::what ( ) const
throw (
)
inline

Returns the error message, describing what caused the exception.

Returns
The error message, describing what caused the exception.

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