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')
Exemple #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')
 def test_dot(self):
     self.assertTrue(plane_finder.dot([1,2,3],[3,2,1]),[3,4,3])
Exemple #4
0
 def test_dot(self):
     self.assertTrue(plane_finder.dot([1, 2, 3], [3, 2, 1]), [3, 4, 3])