Hi,
I have tried to test the orientation data calculated by the AHRS_test from the library and I noticed that the yaw, pitch, roll values just drifted away even when APM 2.5 was just left stationary on the table. I was wondering since the apm 2.5 has a magnetometer to determine the orientation then why the yaw, pitch roll values would still drift away significantly. Is there any method that I could use to reduce the drift, if not to eliminate it?
Replies
Try loading actual flight code. You shouldn't see any drift at all. The library test is not a complete AHRS solution.