Open AIGC-newbee opened 1 year ago
I found something illogical in function velo_points_2_pano of Convert_Velo_2_Pano_detail.ipynb;
velo_points_2_pano
Convert_Velo_2_Pano_detail.ipynb
def velo_points_2_pano(points, v_res, h_res, v_fov, h_fov, depth=False): # Projecting to 2D x = points[:, 0] y = points[:, 1] z = points[:, 2] dist = np.sqrt(x ** 2 + y ** 2 + z ** 2) # project point cloud to 2D point map y_img = -(np.arctan2(z, dist) / (v_res * (np.pi / 180)))
Should dist = np.sqrt(x ** 2 + y ** 2) rather than dist = np.sqrt(x ** 2 + y ** 2 + z ** 2)? I discussed with ChatGPT4,0 who also agrees with me.
dist = np.sqrt(x ** 2 + y ** 2)
dist = np.sqrt(x ** 2 + y ** 2 + z ** 2)
I found something illogical in function
velo_points_2_pano
ofConvert_Velo_2_Pano_detail.ipynb
;Should
dist = np.sqrt(x ** 2 + y ** 2)
rather thandist = np.sqrt(x ** 2 + y ** 2 + z ** 2)
? I discussed with ChatGPT4,0 who also agrees with me.