read acceleration and angler ratio from mpu6050 and estimate pitch and roll angle

Dependencies:   mbed

myConstants.h

Committer:
ojan
Date:
2015-04-16
Revision:
1:2eca9b376580
Child:
2:4a6b46653abf

File content as of revision 1:2eca9b376580:

#pragma once

#define NEARLY_ZERO     0.000001f
#define ZERO_TOLERANCE  0.001f