![](/media/cache/group/11700697_10200701668420946_8214886085951071495_o.jpg.50x50_q85.jpg)
Class of MPU9250
Dependencies: AHRS_fillter mbed
Fork of MPU9250AHRS by
Diff: AHRS.h
- Revision:
- 8:928673148b55
- Parent:
- 6:5665d427bceb
--- a/AHRS.h Wed Jan 20 02:36:32 2016 +0000 +++ b/AHRS.h Wed Jan 20 02:42:22 2016 +0000 @@ -63,7 +63,8 @@ //MPU9250 imu; //Serial test; Timer t; - AHRS(PinName sda, PinName scl, PinName tx, PinName rx, int address) : MPU9250(sda,scl,tx,rx,address) { + Serial pc2; + AHRS(PinName sda, PinName scl, PinName tx, PinName rx, int address) : MPU9250(sda,scl,tx,rx,address),pc2(tx,rx) { for(int i=0; i<=3; i++) { eInt[i] = 0; q[i] = 0; // vector to hold quaternion @@ -102,7 +103,7 @@ float getYaw() { return yaw; } - void printRollPitchYaw(); + void PrintRollPitchYaw(); void TimeStart(); void TimeRead() {