mpu6050

Simple MPU6050 reader for orange pi and raspberry pi https://github.com/grizzlei/mpu6050 This program will read gyro and accelerometer sensor data from MPU6050 imu and forward it to serial port, so you can work with the data on your development pc. In main.c mpu6050 is initialized with ±500 °/s gyro, ±4g accelerometer configurations. Following format is what you will … Read More

libimu

https://github.com/grizzlei/libimu Quaternion based (gimbal lock-safe), hardware independent IMU data processing library. Building libimu Following commands will build and install libimu on your system. Example use Here’s a simplified piece of code from demo.c. Following code is essentially all you need to compute the current orientation of the body. In application loop, ax, ay, az and gx, gy, gz have to … Read More