FreeIMU-Updates icon indicating copy to clipboard operation
FreeIMU-Updates copied to clipboard

Free IMU library not working.

Open ShubhamBhatt opened this issue 3 years ago • 4 comments

Just downloaded the library. I am not able to compile it for Arduino Uno. I am using the latest Arduino IDE. Not sure if this library is still been used. If anyone out there is still using it please help. image

ShubhamBhatt avatar Jan 30 '22 17:01 ShubhamBhatt

See comment here: https://github.com/mjs513/FreeIMU-Updates/issues/103#issuecomment-1025186261

However, the library won't fit on an Arduino Uno you would have to use a Mega or something with a bit more memory

mjs513 avatar Jan 31 '22 04:01 mjs513

Thanks for the quick reply. Unfortunately commenting on the line gave more errors. Is there any tutorial for freeimu to be used with mpu6050 ?? maybe I missed something? I am not able to find any guide on how to use this library.

ShubhamBhatt avatar Jan 31 '22 07:01 ShubhamBhatt

I tried commenting most of the libraries. some places you have mentioned MPU60XX these XX need to be replace by actual library?? image I get this if I make changes like above image

ShubhamBhatt avatar Jan 31 '22 08:01 ShubhamBhatt

Not sure what the example you are using, but I just compiled for the Mega using the Yaw_pitch_roll example and it compiled with out errors. This is what I have for headers to be included:

#include <I2Cdev.h>
#include <MPU60X0.h>
#include <AP_Baro_MS5611.h>  //Uncomment for APM2.5

Make sure you include the I2Cdev library when using the MPU6050

mjs513 avatar Jan 31 '22 13:01 mjs513