code of robot bike
Dependencies: SDFileSystem mbed
Fork of Robot_Bicycle by
Diff: SensorFusion.h
- Revision:
- 3:197b748a397a
- Parent:
- 0:830ddddc129f
--- a/SensorFusion.h Tue Jun 21 18:47:22 2016 +0000 +++ b/SensorFusion.h Wed Jun 22 04:35:18 2016 +0000 @@ -7,7 +7,7 @@ #define sample_time 1.0f/FTimer #define LOOP_TIME_MS 1000.0f/FTimer #define Alpha FTimer/25.0f -#define pi_const 3.1416f +#define pi_const 3.14159f extern float axm, aym, azm, u1, u2, u3, mx, my, mz; extern float Ac[3];