Go Down

Topic: RTIMULib2 with MPU9250 (Read 84 times) previous topic - next topic

Ki714

Hello All

Has anyone successfully installed and ran the RTIMULib2 library?

I am having some minor issues trying to compile/run the RTIMULib2. I have no problem with version 1.
With version 1, all I have to do is to un-comment the appropriate MPU within the libraries/RTIMULib/RTIMULibDefs.h and I was up and running in no time.

Code: [Select]

#define MPU9250_68            // MPU9250 at address 0x68 


and I was up and running in no time.

With RTIMULib2, the RTIMULibDefs.h was structure differently. I have no clue as where to define my MPU9250.

So I tried compile anyway and got many library errors, like

#include <sys/ioctl.h>
#include <linux/i2c-dev.h>
#include <sys/time.h>
#include <linux/spi/spidev.h>


Regards
Ki714

jremington

#1
Oct 12, 2017, 11:58 pm Last Edit: Oct 12, 2017, 11:59 pm by jremington
If the original library works, with bother with RTIMUlib2? It is configured for linux, not Arduino.

Go Up