I am slowly moving my libraries to mbed6 and wanted to share this one because I like how it works and assume people better than me at firmware could make improvements. It just sends time to Madgwick so you don’t need set a timer interrupt to maintain consistent updates. I tested it on a NUCLEO-L432KC and the average update is about 500hz and the units seem to be right because there is no drift after aggressive movements. I kept the IMU and AHRS separate to allow for different sensors but I did modify ICM20948 to be configured in the main.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
High frequency thread (min 10kHz) | 1 | 430 | May 24, 2021 | |
Possible to improve accuracy of timer/ticker? | 2 | 251 | February 12, 2022 | |
System stuck when using STM32 HAL lib and Mbed together | 2 | 847 | January 8, 2021 | |
Mbed OS online version vs Mbed Studio Mbed OS version | 5 | 708 | February 16, 2022 | |
How to change system clock frequency on NUCLEO-L476RG | 9 | 2073 | March 14, 2022 |