Exemplo n.º 1
0
 def get_gyro(self):
     return tuple([i / 65536 for i in motion_mpu6050.gyro()])
Exemplo n.º 2
0
 def get_y(self):
     return motion_mpu6050.gyro()[0] / 65536
Exemplo n.º 3
0
 def get_z(self):
     return -motion_mpu6050.gyro()[2] / 65536
Exemplo n.º 4
0
 def get_x(self):
     return -motion_mpu6050.gyro()[1] / 65536