Replies: 1 comment 2 replies
-
Unfortunately, the short answer is that you can't do this. The DMP has a maximum output rate of 200 Hz, and this tends to be rather noisy. 100 Hz is more realistic for cleaner, smoother data. At least, this is the case as far as I know. One reason is that the DMP fusion algorithms are computationally intensive, and the small onboard processor in the IMU can't perform the math faster than this. Another reason is that simply gathering the raw data takes time, and the faster the IMU goes, the less filtering it can do and the less time it has to perform fusion computations (which are hard to do). If you want very fast fused data, you will probably need to select a fast 6-axis IMU (likely with a 3MHz+ SPI interface) and pair it with a fast Cortex-M3/M4 MCU, with the MCU doing the fusion. This is not anywhere near as simple, of course, but that's the cost of extremely fast fused orientation data. |
Beta Was this translation helpful? Give feedback.
-
I want to print more than 500 data per second in the DMP example.
I heard that there is a way to modify the sample rate.
After mpu initialization, I tried "mpu.setRate(1);", but the output speed still seems to be there. How can I print out more data?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions