Updates and some refactoring

This commit is contained in:
erikwijmans
2017-12-26 19:49:52 -05:00
parent dc4e2b0db3
commit 803d7e1fc6
10 changed files with 211 additions and 226 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ class PointcloudScale(object):
class PointcloudRotate(object):
def __init__(self, x_axis=False, z_axis=True):
assert x_axis or z_axis
self.x, self.y = x_axis, z_axis
self.x, self.z = x_axis, z_axis
def _get_angles(self):
rotation_angle = np.random.uniform() * 2 * np.pi