Unable to compute kalman filter innovation (measurement residuals) in the new sensor fusion and tracking toolbox

4 Ansichten (letzte 30 Tage)
I have recently installed the sensor fusion and tracking toolbox. Some of the IMU and GPS fusion examples are useful for my application. However there does not seem to be a straightforward method of computing EKF measurement residuals, or in general, accessing the process model and measurement models. are the underlying models not publicly accesible?

Akzeptierte Antwort

Brian Fanous
Brian Fanous am 3 Okt. 2018
The code which computes the innovations and Kalman gain should be visible to you, but are not available through a public API right now. You can inspect the source code to see these variables.
Most of the code you are looking for is in the fusion.internal.IMUBasicEKF and fusion.internal.MARGGPSFuserBase class. These are internal classes so they may change in a future release. For R2018b the computations of the Kalman gain and innovations occurs in the correctEqn() method on line 72 of the fusion.internal.IMUBasicEKF class.
Can you give us an idea of what your application is and why you’d like to see this? That might give us an idea of how we can better support this in future releases.
  1 Kommentar
Suraj Bijjahalli
Suraj Bijjahalli am 6 Okt. 2018
Thank you very much. I found what i needed in the MARGGPSFuser class. I needed to compute the innovations to set up a sensor fault monitoring routine. Would be useful if the API was made public.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Honglei Chen
Honglei Chen am 2 Okt. 2018
Are you using trakingEKF?
There is a residual method you can use
HTH
  1 Kommentar
Suraj Bijjahalli
Suraj Bijjahalli am 3 Okt. 2018
Thank you for your answer Honglei. Unfortunately, I am using the insfilter (https://au.mathworks.com/help/fusion/ref/marggpsfuser.html)
Is there a way of extracting measurement residuals and the Kalman gain computed at each update cycle for this filter?

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by