Closed define-private-public closed 3 years ago
Hi Benjamin (@define-private-public ), This is the wrong place to ask questions about other libraries. Please try asking your question in the Inertial Measurement Units Forum. Best wishes, Paul
Hi,
I've reached out on the IMU forum ( https://forum.sparkfun.com/viewtopic.php?f=83&t=55764 ), still trying to get that to work. It's better now but there are still issues. I've uploaded all of my code (Arduino & Python visualization app) here:
https://github.com/define-private-public/ICM-20948_vizualization
I have a video it in action here:
https://www.youtube.com/watch?v=OrI-3uFmiHM
I understand that this repo is strictly about the ICM-20948, but I'm still fairly a newbie when it comes to IMUs. I'm wondering if there is any other insight you might be able to give me regarding the issues I'm still experiencing.
HI Benjamin (@define-private-public ),
Sorry - I cannot give you any help with the MadgwickAHRS library, I have never used it before.
Best wishes, Paul
I'm still working on the MEGA to get access to the DMP, but in the meanwhile, I'm also interested in having a working orientation sensor using an Arduino Uno. I'm using the (MadgwickAHRS)[https://github.com/arduino-libraries/MadgwickAHRS] to perform the sensor fusion. I'm having some issues where the orientation drifts over time.
What can I do to remedy this?
So far this is my code:
I made a 3D model of the breakout board and a Python (w/ Panda3D) visualization:
https://user-images.githubusercontent.com/4551425/118917371-be5e7f00-b8fe-11eb-9848-9c2d432bdd53.mov
The parts where the movement jerks fast is actually where I move the board. The parts where the rotation is linear is actually drift. I've before had the board completely stationary but then seen it drift slowly at the rate of about 2 deg / second, for minutes on end. I really want to eliminate this drift when using an Uno