Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve 6120 #6306

Merged
merged 1 commit into from
Aug 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def estimate_3D_transform_RANSAC(pts_xyz_s, pts_xyz_t):
if (n_inlier > max_inlier) and (np.linalg.det(R_approx) != 0.0) and \
(R_approx[0,0] > 0 and R_approx[1,1] > 0 and R_approx[2,2] > 0):
Transform_good[:3, :3] = R_approx
Transform_good[:3, 3] = [t_approx[0], t_approx[1], t_approx[2]]
Transform_good[:3, 3] = t_approx.squeeze(1)
max_inlier = n_inlier
inlier_vec = [id_iter for diff_iter, id_iter \
in zip(diff, range(n_points)) \
Expand Down