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
Mini-story: Natives
-
“The lateness of the hour is leaving its mark upon my mind,” Reeves said
suddenly, looking up from his writing desk to glance at the wall clock,
which in...
1 day ago