def __init__(self, x=0, y=0, z=0, xy=0, xz=0, yz=0): """Initializes the PositionError object.""" XYZ.__init__(self, x, y, z) self.xy = xy self.xz = xz self.yz = yz self.data = [x, y, z, xy, xz, yz]
def __init__(self, w=0, x=0, y=0, z=0): """Initializes the Quaternion object.""" XYZ.__init__(self, x, y, z) self.data = [w, x, y, z] self.w = w
def __init__(self, data=[0] * 24): """Initializes the RawSensorData object""" XYZ.__init__(self, data)