We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d3fb995 + cf94a8a commit 3291cc7Copy full SHA for 3291cc7
examples/kdtree.py
@@ -3,12 +3,6 @@
3
import numpy as np
4
import pcl
5
6
-pc_1 = pcl.PointCloud()
7
-pc_1.from_array(points_1)
8
-pc_2 = pcl.PointCloud()
9
-pc_2.from_array(points_2)
10
-kd = pcl.KdTreeFLANN(pc_1)
11
-
12
points_1 = np.array([[0, 0, 0],
13
[1, 0, 0],
14
[0, 1, 0],
@@ -18,6 +12,12 @@
18
19
[1.1, 1, 0.5]], dtype=np.float32)
20
15
+pc_1 = pcl.PointCloud()
16
+pc_1.from_array(points_1)
17
+pc_2 = pcl.PointCloud()
+pc_2.from_array(points_2)
+kd = pcl.KdTreeFLANN(pc_1)
+
21
print('pc_1:')
22
print(points_1)
23
print('\npc_2:')
0 commit comments