Hi,
I was looking at this line of your ATE calculation
|
return np.sqrt(np.mean((est - gt) ** 2)) |
and these lines of your RTE calculation
|
err = est[deltas[i]:] + gt[:-deltas[i]] - est[:-deltas[i]] - gt[deltas[i]:] |
|
rtes[i] = np.sqrt(np.mean(err ** 2)) |
Based on your cited source, I am wondering if you are missing a norm in the error calculation, as you would want to be calculating the Euclidean distance between the estimated and ground truth positions. The equations, as written, appear to be computing the mean over all the individual squared x and y components. In other words, shouldn't this calculation be the following?
np.sqrt(np.mean(np.linalg.norm(est - gt) ** 2)
Thanks,
Scott
Hi,
I was looking at this line of your ATE calculation
ronin/source/metric.py
Line 18 in 59b2a23
and these lines of your RTE calculation
ronin/source/metric.py
Lines 43 to 44 in 59b2a23
Based on your cited source, I am wondering if you are missing a norm in the error calculation, as you would want to be calculating the Euclidean distance between the estimated and ground truth positions. The equations, as written, appear to be computing the mean over all the individual squared x and y components. In other words, shouldn't this calculation be the following?
Thanks,
Scott