There are a number of libraries that make working with the LSM9DS1 IMU (Inertial Measurement Unit) easy. In Part 5 of our series on writing your own flight controller software we will focus on the IMU and in particular explain the best ways to convert the gyro rate and accelerometer force data to a roll and pitch angle. The yaw angle is then calculated using the pitch and roll and magnetometer data. This discussion, is in the context of building a drone flight controller based on the Arduino Nano 33 BLE. https://reefwing.medium.com/a59bf9ed8c69
Need a Lift
-
I was seventeen when I made the stupid mistake of trying to hitchhike
across the country to see a girl I’d met at a gig a few weeks earlier.
The weather ...
3 days ago