Closed hsiachi closed 2 years ago
Hi, could you fill the issue template, please?
Hi, could you fill the issue template, please?
I've updated with the issue template now :)
Could you give me "Reproducible & Minimal & Compilable Code" if you modified my example? I don't know what print_quaternion
is.
Certainly. Sorry for bothering you
I figured out that it's because I've changed the baud rate to 9600 bits/sec (which I didn't notice). The sensor runs at 200 Hz, and printing a quaternion just exceeds the limit (while printing Euler Angles does not). Changing to 115200 bits/sec solves my problem. Sorry again for taking your time.
Environment
IDE (Arduino IDE, PlatformIO, etc.) : Arduino IDE Board/MCU (Arduino Uno, ESP32, etc.): Arduino Nano Board Firmware Version (see board manager): Arduino AVR Boards v1.8.5 MPU-9250 Library Version: v0.4.8
Problem Summary
I'm using the library with its calibration, but I notice that if I comment out the 25 ms interval, quaternions will not be updated (More specifically it's
1, 0, 0, 0
). This problem would not occur insimple
Example.Problem Details
Using the
simple_with_calibration
example works well, but if I comment out the 25 ms interval (as below), the quaternion will not get updated and holds to the value(1, 0, 0, 0)
. I notice there's no interval insimple
example and I wonder what's the difference between these two.Reproducible & Minimal & Compilable Code