// LSM9DS1 Library Init // // // Use the LSM9DS1 class to create an object. [imu] can be // named anything, we'll refer to that throught the sketch. LSM9DS1 imu; /// // Example SPI Setup // /// // Define the pins used for our SPI chip selects. We're // using h...
I cant help You. If You have to set orientation based on quaternions maybe You should buy another sensor which calculating quaternions without madgwick library. On market is big choice but these sensors are more expensive than this in our Arduinos :D ...