コード例 #1
0
 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]
コード例 #2
0
 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
コード例 #3
0
ファイル: sensor_data.py プロジェクト: Tsuchimiya/pozyx
 def __init__(self, data=[0] * 24):
     """Initializes the RawSensorData object"""
     XYZ.__init__(self, data)