Im getting these values back from my MPU-9250 when using an arduino script which I will attatch along with the results im getting. I want to plug the values into a game service called Unity but when I do the thing I want to rotate starts rotating up and down and sort of sparratic-like. I am unsure of whether there is something I need to do to make these values smoother, and if there is please instruct me on what to do, or whether these are just the values generated by the mpu9250. I doubt they are because im using the mpu-9250 as an upgrade to the previous chip I was using, the mpu6050, and it had rotations smoother than this. Maybe Im using the wrong script, maybe its not calibrated, I am unsure. Please give me some guidance. Any help is appreciated! Thanks! =)
barebonesmpureallibrary.ino (53.3 KB)
mpu9250out.txt (64.4 KB)