Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 1 month ago.
Pitch and Roll never exceed 90 degree
hello sir. I have just tested your example code (freeIMU_Demo) and played with my gy-86 when i suddenly realized that the value of pitch and roll never exceed 90 degree. When i tilted my gy, the pitch would rise to 90 and if i continue to tilt it, the value would start decreasing. Can you help me with that? Thank you
Question relating to:
7 years ago.
Hi thanks for your question. There was minimal modification made to the FreeIMU ARHS algorithm after it was ported to mbed, so the cause of the problem probably lies somewhere else. You can try updating the FreeIMU library in the demo program, since it does not automatically fetch the newest version. Calibrating the magnetometer may also fix the issue. I will take a deeper look at the problem as soon as possible.