Distance #69
Replies: 3 comments 6 replies
-
Hi, I'm not familiar with the Mercator transformation, but I have compared the NaveGo Haversine distance function to the MATLAB Haversine distance function. The error between both is around 6%.
Regards. |
Beta Was this translation helpful? Give feedback.
-
The question is about velocities in the NED coordinate system. Do your sensor issue them automatically? Or do you get them by calculation methods? If by calculations, then tell me how, because my GNSS does not give out the speed of NEDs. |
Beta Was this translation helpful? Give feedback.
-
Sorry. I found the problem in the code (copy-paste). |
Beta Was this translation helpful? Give feedback.
-
Hi.
I have a question about the calculation of the distance. You are using the Harversine function, but it is wrong.
And I calculated the distance using the Mercator transformation, and got a completely different result.
load('D:\ins-gnss\NaveGo-1.3\examples\real-data\ekinox_gnss.mat');
ekinox.time_device = ekinox_gnss.t- ekinox_gnss.t(1);
%cartesian_coord
coord(:,1) = x(:,1);
coord(:,2) = y(:,1);
coord(:,3) = z(:,1);
%delta distance between points
delta_x = [0;diff(coord(:,1))];
delta_y = [0;diff(coord(:,2))];
delta_z = [0;diff(coord(:,3))];
delta_r = sqrt(delta_x.^2+delta_y.^2+delta_z.^2);
distance_cartesian = sum(delta_r);
Beta Was this translation helpful? Give feedback.
All reactions