Hi all, I always doubt opening a thread in the forum when I am having problems using Orekit. I tend to think that almost all use cases have already been discused here, or that the functionality is well documented, and I just don’t get it. Normally it is just a problem of me not understanding how Orekit is meant to be used, so I hope that is what is happening now.
After managing to use the BLS for orbit determination I want to get into using Kalman filters in Orekit, I think this method is better suited for my needs. Therefore, I have been reading everything I find about it:
Use of Kalman Filter for OD (general Orekit usage)
Regarding Kalman Estimator usage (Python wrapper usage)
Access to KalmanEstimation (also Python related)
I think I now have a good general idea of how it is supposed to be used. So, when you need to retrieve information from the estimation, you have to implement your own class extending a
KalmanObserver, and inside the method
evaluationPerformed (that the user implements there) you can do whatever you want with the
KalmanEstimation information that is fed to it by the
KalmanEstimator (after a measurement is added and procesed with
This is what I understand has to be done. In native Java I guess this is not a problem, as you just implement the class derived from
KalmanObserver, instantiate it and you are done. From what I have understood of the forum threads, the Python users have a native alternative by using
PythonKalmanObserver to do the same thing (I am not sure if that is still an option, it looks like there is no such file in the master branch). The problem for me is that I am trying to do this in Matlab, and maybe it is because I am not very knowlegable programing-wise, but I don’t see a way to do this observer thing from Matlab…
I know there is a way to generate classes in matlab, but I don’t think these can extend java classes (or I simply don’t know how). My current guess is that, if I want to use the Kalman estimators of Orekit in Matlab I need to learn at least a bit o Java, implement the class of
KalmanObserver, compile that, and put it in the javaclass path of my Matlab instalation.
So, this post is to ask if that approach is the only possible one as Orekit is arquitected, or if I am in luck and there is a more native approach.
With this question on the table, as I think is interesting in general, I want to specify that I am looking to access the uncertainty data after each estimation is performed, as I am mainly interested in getting the estimated orbit after a radar track, but that includes state and uncertainty…
Thanks in advance. I know my questions are probably a bit naive, but I do my best to research before asking as to avoid being too much of a nuisance.