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