Exemplo n.º 1
0
 def test_find_plane(self):
     q = plane_finder.plane_fit(self.point_list)
     s = abs(plane_finder.dot(q[0:3],[1,0,0]))
     self.assertTrue(s > 0.95,'Ransac did not converge')
Exemplo n.º 2
0
 def test_find_plane(self):
     q = plane_finder.plane_fit(self.point_list)
     s = abs(plane_finder.dot(q[0:3], [1, 0, 0]))
     self.assertTrue(s > 0.95, 'Ransac did not converge')
Exemplo n.º 3
0
 def test_dot(self):
     self.assertTrue(plane_finder.dot([1,2,3],[3,2,1]),[3,4,3])
Exemplo n.º 4
0
 def test_dot(self):
     self.assertTrue(plane_finder.dot([1, 2, 3], [3, 2, 1]), [3, 4, 3])