Implementing Sensor Fusion Library for ST-LSM9DS1

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Implementing Sensor Fusion Library for ST-LSM9DS1

2,201 Views
Mason_S
Contributor I

Hi all,
It's Mason and It's been a while that I'm working with IMUs and Sensor fusion libraries.
Recently I tried to implement FS sensor fusion for Arduino Nano 33 ble which has embedded LSM9DS1 IMU sensor.
I downloaded the version 7 of the library from the link below:

https://github.com/BjarneBitscrambler/OrientationSensorFusion-ESP

I reviewed all of the library files and example but I didn't get how to edit the code for my own board.
Adding a sensor with driver file is a little bit confusing.
It's I will be grateful for any help.
I will also tag some of tech experts too, hoping for faster respond.
@TomasVaverka @JozefKozon  @reyes

Kind Regards,
Mason

 

0 Kudos
2 Replies

2,148 Views
Mason_S
Contributor I

Hi @TomasVaverka ,
Thanks for responding.

That's unfortunate.
Isn't there any example for library?
Figuring out the library process is really confusing even with user guide.

I have been trying to implement the sensor data but unfortunately I'm not getting valid output, I will attach the output.

I don't know the reason but as can see in picture, the numbers are soooo float

Regards,

Mason

0 Kudos

2,176 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Mason,

As far as I know there is no porting guide available for the sensor fusion library. However, you might find useful a user guide that provides high level architecture as part of section #4 (see snapshot below). Also it provides details of various sub-systems and functions along with data structures.

Capture.JPG

You can also refer to available sensor fusion library documents (API reference manual etc.) by downloading supported sensor kits SDK from https://mcuxpresso.nxp.com. Providing below a snapshot of SDK documentation for the FRDM-K64F-AGM01 kit where you can find sensor fusion library documentation:

Capture 2.JPG

Capture 3.JPG

Best regards,

Tomas

 

0 Kudos