Noob... Need help with MPU9150 result print out

Hi Guys.

I have set up the MPU9150 to my Arduino Mega, Loaded the code from
https://github.com/richards-tech/MPU9150Lib,
Did calibration of mag and gyro. Works GREAT !!

However I would like to move the data into usable float variables but have been unable to do this.

I know "C" programming, but I am not good with the Classes stuff. Please help :slight_smile:

MPU.printAngles(MPU.m_fusedEulerPose); // sends the results to terminal,

Terminal OUTPUT:

Arduino9150 starting using device 0
Using mag cal
Using accel cal
Setting up compass
Compass sens: 287 290 301
Loading firmware
Firmware loaded
x: 0.89 y: 0.20 z: -15.58
x: 0.91 y: 0.51 z: -29.59
x: 0.93 y: 0.80 z: -42.07
x: 0.94 y: 1.09 z: -53.29
x: 0.96 y: 1.37 z: -63.38
x: 0.97 y: 1.63 z: -72.58
x: 0.98 y: 1.88 z: -80.86[/i]