Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Imu.h
- Revision:
- 73:0720e5550476
- Parent:
- 58:fb7876549148
--- a/Imu.h Mon Mar 11 11:48:58 2019 +0000 +++ b/Imu.h Tue Mar 19 12:22:31 2019 +0000 @@ -15,8 +15,10 @@ class Imu { private: Serial sp46Axis; // - INT16 gyroZ; - INT16 gyro_ref; + int32_t gyroZ; + int32_t gyro_ref; + //INT16 gyroZ; + //INT16 gyro_ref; float yaw; float yaw_ref; float yawOfset; @@ -33,7 +35,8 @@ float GetGyroZ(); float GetYaw(); float GetYawRef(); - INT16 GetGyroRef(); + //INT16 GetGyroRef(); + int32_t GetGyroRef(); void CalYaw(); void CalGyro(); };