andycruce Geschrieben March 6, 2017 at 19:59 Geschrieben March 6, 2017 at 19:59 I have been looking at the code from the github reference that combines the imu and baro data to provide a more accurate and stable altitude estimate. The comments say it is a complementary filter. However, I can't reconcile the code with a complementary filter that consists of a high and low pass filter in parallel. I'd like to be able to contact the person who generated the code to try to understand what he did. Is that possible? Also, I'm still looking for someone who has fused the GPS and IMU sensors to provide more accurate and stable horizontal position information. Thanks, Andy Cruce Andy Cruce Zitieren
borg Geschrieben March 7, 2017 at 08:02 Geschrieben March 7, 2017 at 08:02 I wrote the Python code, but as it says in the code, the actual filter algorithm comes from here: http://www.varesano.net/blog/fabio/complementary-filtering-high-res-barometer-and-accelerometer-reliable-altitude-estimation Zitieren
andycruce Geschrieben March 12, 2017 at 13:41 Autor Geschrieben March 12, 2017 at 13:41 I must be missing something. I checked the URL you listed and the only description of code I found was to subtract gravity from an accelerometer output. The IMU 2 brick does this automatically when it provides linear accelerations. Where did you find any discussion of the complementary filter code? Zitieren
borg Geschrieben March 13, 2017 at 08:26 Geschrieben March 13, 2017 at 08:26 If you go to the FreeIMU library, click on the download link und open the file libraries/FreeIMU/FreeIMU.cpp, you can find the code in line 570ff. Zitieren
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.