Sidharth4053 Posted February 23, 2017 Report Share Posted February 23, 2017 (edited) Hi Jeff, I have calibrated acceleration x/y - axis, as z was already calibrated. I made changes in your raw file and attached it Do you think this is good correction factor that i did? This give me accuracy of +/- .01 unit in both the x and y axis. MPU6050_raw.ino PS:- Sorry forgot to mentioned this code uses deque to get RMS values for correction. link:- https://github.com/maniacbug/StandardCplusplus and add #include<deque> and use SIZE to make it more smooth. Edited February 24, 2017 by Sidharth4053 Forgot to mention few detials Quote Link to comment Share on other sites More sharing options...
ckvaid Posted February 26, 2017 Report Share Posted February 26, 2017 Arduino: 1.6.0 (Windows 8), Board: "Arduino Uno" MPU6050_raw.ino: In function 'void loop()': MPU6050_raw.ino:136:40: error: 'getCorrectionFactor' was not declared in this scope MPU6050_raw.ino:141:37: error: 'getCorrectionFactor' was not declared in this scope Error compiling. this the error i am getting when compiling code can u help Quote Link to comment Share on other sites More sharing options...
Sidharth4053 Posted February 27, 2017 Author Report Share Posted February 27, 2017 It is actual declare in the scope, I have checked the brackets. Still anyways Try this code attached below. Because if I am right things are going in correct manner. Output URL: Sorry for my bad drawing, please consider asymptote touch at peak points of graph. I have edited in only X-axis direction. move the chip toward X-axis and check the respective values. Text (1).txt Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.