You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Post your theoretical questions / usage questions here.
my question is about the "ranges_inverse_sum" and the "residual" in registration.cc,
// the unit is m
double ranges_inverse_sum = ranges.sum();
// the unit is m
ranges_inverse_sum -= epsilon * ranges(idx);
// the unit is m^2
double residual = consensus_set_cardinal * x_hat(i) * x_hat(i) + sum_xi_square - 2 * sum_xi * x_hat(i);
// the unit is confused
x_cost(i) = residual + ranges_inverse_sum;
so, I rewrite it like this:
// the unit is m^2
double ranges_inverse_sum = ranges.array().square().sum();
// the unit is m^2
ranges_inverse_sum -= epsilon * ranges(idx) * ranges(idx);
// the unit is m^2
double residual = consensus_set_cardinal * x_hat(i) * x_hat(i) + sum_xi_square - 2 * sum_xi * x_hat(i);
// the unit is m^2
x_cost(i) = residual + ranges_inverse_sum;
Thank you in advance for answering my question.
The text was updated successfully, but these errors were encountered:
Have you read the documentation?
Post your theoretical questions / usage questions here.
my question is about the "ranges_inverse_sum" and the "residual" in registration.cc,
so, I rewrite it like this:
Thank you in advance for answering my question.
The text was updated successfully, but these errors were encountered: