Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calibration! #12

Merged
merged 38 commits into from May 6, 2023
Merged

Calibration! #12

merged 38 commits into from May 6, 2023

Conversation

buckbaskin
Copy link
Owner

@buckbaskin buckbaskin commented May 6, 2023

Overview

FormaK aims to combine symbolic modeling for fast, efficient system modelling with code generation to create performant code that is easy to use.

This design provides an extension to the fifth of the Five Keys "C++ interfaces to support a variety of model uses".

When defining a model, in theory everything can be estimated as a state or provided as a control input; however, having the ability to provide calibrations can be helpful or even essential. For example, in the NASA rocket dataset the position of the IMU on the rocket is calibrated ahead of time so it doesn't need to be estimated online.

For the case of a suite of ranging sensors (say ultra-wideband time of flight sensors), the calibration term allows for easily setting up a single model with different calibrations for the known positions of each sensor in the reference frame. Without the calibration, each pose would be arbitrary and require solving a problem beyond what is suited to a Kalman Filter. With the calibration, the sensor model can be defined once and then calibrated multiple times at runtime based on how the sensors are set up for a particular use case.

The Calibration use case also provides additional functionality on top of the Control inputs. The two categories conceptually overlap as "known" values that are accepted in the state update; however, the Calibration values are also available within the sensor model. With just a State and Control input, the state needs to accept control inputs as a pass through to sensor models. This adds a compute penalty for computations with the state.

Supporting calibration is a big step forward in functionality for FormaK that enables a variety of new model use cases.

@buckbaskin buckbaskin self-assigned this May 6, 2023
@buckbaskin buckbaskin merged commit 02005ce into master May 6, 2023
5 checks passed
@buckbaskin buckbaskin added the enhancement New feature or request label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant