Library containing Crazyflie 2.0 sensors drivers: - LPS25H (barometer) - MPU9250 (IMU) - PMW3901 (optical flow) - VL53L0X (range)

Dependents:   Drones-Controlador controladoatitude_cteste Drone_Controlador_Atitude optical_test

Revision:
5:1ef8b91a0318
Parent:
3:2f2b8e863991
--- a/MPU9250/MPU9250.h	Thu Apr 19 19:44:07 2018 +0000
+++ b/MPU9250/MPU9250.h	Fri May 04 23:03:00 2018 +0000
@@ -4,8 +4,8 @@
 #include "mbed.h"
 
 // Physical constants
-#define GRAVITY 9.80665
-#define PI 3.14159
+#define GRAVITY 9.80665f
+#define PI 3.14159f
 
 // MPU9250 I2C address
 #define MPU9250_ADDRESS 0b1101001 << 1  // Shift 1 bit left because mbed utilizes 8-bit addresses and not 7-bit
@@ -52,7 +52,6 @@
     GYRO_SCALE_2000DPS = 0b11 
 };
 
-
 /** MPU9250 (IMU sensor) class
  *
  * Example code (print accelerometer and gyroscope data on serial port every 1 second):