Hello!
First of all, sorry for the basic question! But how do I build the covariance matrix from the sdn/sde/sdu values available after post processing?
I am trying to use my GPS data as a “ground truth” metric, since the Reach M+ antenna with a base has centimetre precision (enough for me), and having the covariance seems to be a good idea (but not essential).
It is possible to include it using sensor_msg/NavSatFix message type for my application, but I am having a hard time understanding how to input the data based on the standard deviations given after post processing (Positioning Solution File).
Is it just a matter of doing it:
covariance_matrix =
{sdn, 0, 0, 0, 0, 0,
0, sde, 0, 0, 0, 0,
0, 0, sdu, 0, 0, 0,
0, 0, 0, sdne, 0, 0,
0, 0, 0, 0, sdeu, 0,
0, 0, 0, 0, 0, sdun}
?
Or maybe using the square potency of those metrics, since the sensor_msg/NavSatFix uses “(m^2)” as values for covariance?
Any guidance is welcomed!