|
@@ -20,7 +20,9 @@ yaw = 0.0
|
|
seq = 0
|
|
seq = 0
|
|
accel_factor = 9.806 #sensor accel g convert to m/s^2.
|
|
accel_factor = 9.806 #sensor accel g convert to m/s^2.
|
|
|
|
|
|
-myIMU = MyIMU(0x50)
|
|
|
|
|
|
+imu_iic_bus = 1
|
|
|
|
+imu_iic_addr = 0x50
|
|
|
|
+myIMU = MyIMU(imu_iic_bus, imu_iic_addr)
|
|
|
|
|
|
print("Now 6DOF IMU Module is working ...")
|
|
print("Now 6DOF IMU Module is working ...")
|
|
while True:
|
|
while True:
|