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

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

#include <jlkf.h>

+ Inheritance diagram for mrs_lib::JLKF< n_states, n_inputs, n_measurements, n_biases >::inverse_exception:
+ Collaboration diagram for mrs_lib::JLKF< n_states, n_inputs, n_measurements, n_biases >::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, int n_biases>
struct mrs_lib::JLKF< n_states, n_inputs, n_measurements, n_biases >::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, int n_biases>
const char* mrs_lib::JLKF< n_states, n_inputs, n_measurements, n_biases >::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: