I would like to compare the result given by a GPS (WGS84) to a ground truth with only the projection matrix given (So rotation matrix 3x3 and translation vector 3x1).
For example I have this from the GPS:
Position 1
lat: latitude of the oxts-unit (deg) --> 48.972104544468
lon: longitude of the oxts-unit (deg) --> 8.4761469953335
alt: altitude of the oxts-unit (m) --> 201.86813354492
Position 2
lat: latitude of the oxts-unit (deg) --> 48.972103212661
lon: longitude of the oxts-unit (deg) --> 8.4761506974488
alt: altitude of the oxts-unit (m) --> 201.88606262207
Using this tool http://www.movable-type.co.uk/scripts/latlong.html , I was able to compute the distance. The result for those two positions is: 0.0003081km
Ground truth
I have in my ground truth for those two position the projection matrix: rotation 3x3 and translation part 3x1. Here the translation part (x y z)
0.000000 0.000000 -0.000000
-0.014018 1.198998 -0.02820
My first attempt was to compute the euclidian distance taking as an input the three component of the translation vector x y and z (sqrt((x1+x2)^2 + (y1+y2)^2 + (z3+z3)^2 )
But I have this result 1.19941157137
It's not at all the same.
Maybe I'm mistaken. Can someone helps me ?
Thanks
أكثر...
For example I have this from the GPS:
Position 1
lat: latitude of the oxts-unit (deg) --> 48.972104544468
lon: longitude of the oxts-unit (deg) --> 8.4761469953335
alt: altitude of the oxts-unit (m) --> 201.86813354492
Position 2
lat: latitude of the oxts-unit (deg) --> 48.972103212661
lon: longitude of the oxts-unit (deg) --> 8.4761506974488
alt: altitude of the oxts-unit (m) --> 201.88606262207
Using this tool http://www.movable-type.co.uk/scripts/latlong.html , I was able to compute the distance. The result for those two positions is: 0.0003081km
Ground truth
I have in my ground truth for those two position the projection matrix: rotation 3x3 and translation part 3x1. Here the translation part (x y z)
0.000000 0.000000 -0.000000
-0.014018 1.198998 -0.02820
My first attempt was to compute the euclidian distance taking as an input the three component of the translation vector x y and z (sqrt((x1+x2)^2 + (y1+y2)^2 + (z3+z3)^2 )
But I have this result 1.19941157137
It's not at all the same.
Maybe I'm mistaken. Can someone helps me ?
Thanks
أكثر...