Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

MPU-9250 Raspberry Pi

Hi Guys,

 

I have adapted the IllinoisControls code that interfaces the MPU-9250 9-axis IMU with the myRIO 1900, so that it can run on a raspberry pi 2 + LINX.

 

I can get the measurements on the Accelerometer and gyro, but the magnetometer doesn't output anything (all the outputs equal 0).

 

I attach my code for reviewing.

 

Any help would be appreciated.

 

 

Thanks.

0 Kudos
Message 1 of 2
(3,850 Views)

Hello, KVN193:

I think we need to understand a little bit more to try to figure it out why your code isn't fully working.

First step would be check if you are not having any compatibility problems.

May you tell us which version of the LabVIEW (year, SP1 and kind of license)? And what about the OS?

 

Thanks,

Daniel Maretti
Engenharia de Aplicações
National Instruments Brazil

0 Kudos
Message 2 of 2
(3,801 Views)