Skip to content

Commit b422314

Browse files
Fixed KITTI pointcloud datatype format to float32
1 parent 0445515 commit b422314

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/vbr_devkit/datasets/kitti.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def _save_cloud(self, data: PointCloudXf, timestamp, *args, **kwargs):
8282
if kwargs.get("pcloud_kitti_format"):
8383
clip_points = np.stack([data.points["x"], data.points["y"], data.points["z"], data.points["intensity"]],
8484
axis=1)
85-
clip_points.tofile(dest_path)
85+
clip_points.astype(np.float32).tofile(dest_path)
8686
return
8787

8888
data.points.tofile(dest_path)

0 commit comments

Comments
 (0)