Program takes accelerometer and gyroscope data from the MPU6050 registers and calibrates them for better results. Then uses this data is to obtain pitch and roll angles and writes these angles to the terminal which mbed is connected to.
Dependencies: MPU6050 ledControl2 mbed
MPU6050.lib@4:33fef1998fc8, 2015-07-16 (annotated)
- Committer:
- BaserK
- Date:
- Thu Jul 16 13:58:38 2015 +0000
- Revision:
- 4:33fef1998fc8
- Parent:
- 3:88737ad5c803
- Child:
- 5:a6a235d5442d
The main program now uses complementary filter as a function to calculate pitch and roll angles
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
BaserK | 4:33fef1998fc8 | 1 | https://developer.mbed.org/users/BaserK/code/MPU6050/#3e0dfce73a58 |