IMU data
Posted: Tue Apr 28, 2015 1:53 am
Hello,
I have just been looking through the v3 datalogger sketch from github and was wondering why is the data from accelerometer, gyro and magnetometer right shifted before writing to the SD card like this,
A related question, how is the MPU axes (x, y, z) aligned with respect to the body of the adapter? Any thoughts?
I have just been looking through the v3 datalogger sketch from github and was wondering why is the data from accelerometer, gyro and magnetometer right shifted before writing to the SD card like this,
Code: Select all
logData(PID_ACC, ax >> 4, ay >> 4, az >> 4)
A related question, how is the MPU axes (x, y, z) aligned with respect to the body of the adapter? Any thoughts?