Skip to content
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

caliberatate results in an "Nan" error #22

Open
jaxkingdom opened this issue Sep 26, 2022 · 0 comments
Open

caliberatate results in an "Nan" error #22

jaxkingdom opened this issue Sep 26, 2022 · 0 comments

Comments

@jaxkingdom
Copy link

I caliberatate my mpu9250, it's result as follows, but when run kalman by .json file, the yawl info return Nan,why?
%Run complete_caliberation.py
Accel calibration starting
Acceleration calibration is starting and keep placing the IMU in 6 different directions based on the instructions below
Put the IMU in 1 position. Press enter to continue..
[-0.28412242 1.1355439 10.50506506]
[]
[]
[10.505065058365755]
Put the IMU in 2 position. Press enter to continue..
[ 1.13468195 -1.13422702 -8.98501074]
[]
[]
[10.505065058365755, -8.985010735637445]
Put the IMU in 3 position. Press enter to continue..
[ 0.5851727 -9.76096913 1.58245638]
[]
[-9.760969127946899]
[10.505065058365755, -8.985010735637445]
Put the IMU in 4 position. Press enter to continue..
[-0.30771249 9.53003063 -0.44961807]
[]
[-9.760969127946899, 9.53003062668803]
[10.505065058365755, -8.985010735637445]
Put the IMU in 5 position. Press enter to continue..
[-9.43546681 -0.34059852 0.18578156]
[-9.435466814373997]
[-9.760969127946899, 9.53003062668803]
[10.505065058365755, -8.985010735637445]
Put the IMU in 6 position. Press enter to continue..
[9.90379053 0.32024079 1.38590037]
[-9.435466814373997, 9.903790533302814]
[-9.760969127946899, 9.53003062668803]
[10.505065058365755, -8.985010735637445]
Accel calibration Finisehd
[ 0.23748847 -0.11740262 0.76485966]
[1.01420647 1.01674357 1.00635832]
Mag calibration starting
/usr/local/lib/python3.7/dist-packages/imusensor-1.0.1-py3.7.egg/imusensor/MPU9250/MPU9250.py:400: RuntimeWarning: invalid value encountered in double_scalars
Mag calibration Finished
[-4.11800666 25.14775067 5.39850273]
[[nan nan nan]
[nan nan nan]
[nan nan nan]]
[1. 1. 1.]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant