Skip to content

Commit ca087e3

Browse files
committed
dumb bug fixed
1 parent 0f38270 commit ca087e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

GEMstack/offboard/calibration/lidar_to_camera_manual.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def crop(pc,ix=None,iy=None,iz=None):
8484
return pc[mask]
8585

8686

87-
lidar_post = np.pad(lidar_points,((0,0),(0,1)),constant_values=1) @ lidar_ex.T
87+
lidar_post = np.pad(lidar_points,((0,0),(0,1)),constant_values=1) @ lidar_ex.T[:,:3]
8888
lidar_post = crop(lidar_post,ix=(0,8),iy=(-5,5))
8989
vis().add_pc(lidar_post).show()
9090

0 commit comments

Comments
 (0)