We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 920fcc5 commit 398154cCopy full SHA for 398154c
1 file changed
GEMstack/onboard/perception/map_based_estimation.py
@@ -40,7 +40,8 @@ def load_lidar_scan(points):
40
try:
41
# Create point cloud from numpy array
42
scan_pcd = o3d.geometry.PointCloud()
43
- scan_pcd.points = o3d.utility.Vector3dVector(points[:, :3])
+ points = np.ascontiguousarray(points[:, :3], dtype=np.float64)
44
+ scan_pcd.points = o3d.utility.Vector3dVector(points)
45
46
47
# # Add intensity as colors if available (4th column)
0 commit comments