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