Hey everyone!
I purchased the LSM9DS1 IMU a while ago now and have spent ALOT of time trying to get orientation out of it. I need orientation from just the gyro, a usable angle for XYZ axis. I have tried rotation matrices, Mahony sensor fusion (though that requires accelerometer use) and also just basic deg/s*time change. I have had no luck with these methods apart from sensor fusion, which has one axis that does its own thing while all axis should be at 0 deg.
My super important question is, how can I use the built in gyro to find usable orientation in deg? It is ok if I need to use both gyro and accelerometer data (though not ideal as the IMU will be accelerating). The reason is to know a model rockets orientation through flight.
I was previously using the MPU-6050, which through the mpu_tockn.h library gives me the orientation in deg. It was strongly recomended that I switch to the LSM9DS1 as the mpu has lots of gyro drift, I just assumed the library for it would give me orientation in deg. My main concern is that I have made an expensive flight computer PCB with the LSM9DS1 and as I was pressed for time I did not learn how to use the LSM9DS1 first. I would rather not need to make another flight computer with a different IMU as it will take lots of time and ALOT of money, this has been a very expensive project and I am trying to cut back spending now.
Thanks in advance,
Eddy
Robinson Aerospace