rpicopter / ArduinoMotionSensorExample

MPU6050/MPU6500/MPU9150/MPU9250 over I2c for Arduino
117 stars 43 forks source link

Acceleration data #19

Closed MohamedA95 closed 6 years ago

MohamedA95 commented 6 years ago

hi, thanks for sharing this great code it's really helpful. in file inv_mpu_dmp_motion_driver.cpp especially line 1247 is says "Accel data in hardware units." could you explain what is the hardware unit? i managed to edit the code to output Acceleration values but it does not make any since. when the sensors is set on a flat surface all axes gives values , as far as i understand only Z should give data and it should be equal to 1g , right?