-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to pole IMU at a slow pace #99
Comments
Well you need to give me a little more information on what you are doing. What MCU are you using, what IMU board are you using, etc? Also, when you say "stop reading the values" what exactly are you doing? |
The board is a FemtoduinoBeacon, https://femtoduino.com/, and the sensor is a MPU9250. I'm going to get a more common board/sensor setup and try my test on that. Please ignore this issue for now. |
BTW, is there an IMU breakout board that you consider the defacto standard for testing the FreeIMU code? Something from Sparkfun, Adafruit or Amazon? |
The GY-86 is the base for FreeIMU. It is a MPU-6050/HMC5883/MS5611 board. |
After initing the IMU I can keep reading valid yaw, pitch, roll values as long as I do it quickly. If I stop reading values for like 10 seconds the getYawPitchRoll() function starts returning NaN's. Is this the expected behavior?
I added the following command to FreeIMU_serial to test this:
else if(cmd == 'Y') {
my3IMU.getYawPitchRoll(ypr);
for (int i = 0; i < 3; ++i)
Serial.print(ypr[i]), Serial.print(" ");
Serial.print('\n');
}
The text was updated successfully, but these errors were encountered: