read acceleration and angler ratio from mpu6050 and estimate pitch and roll angle
Dependencies: mbed
ErrorLogger.h@3:40559ebef0f1, 2015-05-13 (annotated)
- Committer:
- ojan
- Date:
- Wed May 13 04:02:27 2015 +0000
- Revision:
- 3:40559ebef0f1
- Parent:
- 1:2eca9b376580
estimate gravity vector & geomagnetic vector
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ojan | 1:2eca9b376580 | 1 | #pragma once |
ojan | 1:2eca9b376580 | 2 | #include "mbed.h" |
ojan | 1:2eca9b376580 | 3 | |
ojan | 1:2eca9b376580 | 4 | static Serial* debugPort = 0; |
ojan | 1:2eca9b376580 | 5 | |
ojan | 1:2eca9b376580 | 6 | void InitLogger(Serial* dp); |
ojan | 1:2eca9b376580 | 7 | |
ojan | 1:2eca9b376580 | 8 | /* |
ojan | 1:2eca9b376580 | 9 | エラーメッセージを送信してプログラムを中断する |
ojan | 1:2eca9b376580 | 10 | 引数: |
ojan | 1:2eca9b376580 | 11 | */ |
ojan | 1:2eca9b376580 | 12 | |
ojan | 1:2eca9b376580 | 13 | void AbortWithMsg(const char* msg); |