i have a big problem with mpu 9150 i tried more then one example about mpu 9150 and still having the same problem witch is >>>> calculating yaw , pitch , roll from the values ax , ay, az , gx , gy , gz , mx , my , mz .
Crossposting is NOT the solution.
i don't understand ?????
what do you mean by (Crossposting is NOT the solution.)
yaw , pitch , roll from the values ax , ay, az , gx , gy , gz , mx , my , mz
Use AHRS software, for example the RTIMUlib package.
i am using arduino and mpu 9150 ...... i need arduino code not c++ code
The Arduino programming language is C++ and the link I posted is for Arduino.
Hi,
the basics are here:
http://playground.arduino.cc/Main/MPU-9150
For more sophisticated code you need for sensor fusion maybe you can have a look at this one:
there are also examples (.ino files) which may help you for a basic usage of the sensor and obtaining the angles.
I liked also this one as everything is in the .ino files: