Thanks a lot for the suggestion! Here's the output with the firmware you linked to. It looks like some of the lines are overwriting each other when they're sent or printed to the console, but i did 2 of them with a full device reset (on level surface) and reconnect between them, which between the 2 seems to provide the full set of data.tobias wrote:It might be a problem with the MPU6050 sensor. First can you try the FW from this post that will print the self test values and post the values here. From them we can probably tell if there is something wrong with the sensor. Be sure to power it on when placed on a stable surface to get correct readings and then connect to the Crazyflie and look into the console output in the cfclient.
If there is a problem with the sensor Seeedstudio should cover it (either fix it or replace the unit) but it might take some time (shipping etc) so it is better to try to find the potential problem first before involving them.
Code: Select all
p) CLEAN
SYS: I am 0x871910375552864966FFF48 and I have 128KB of flash!
IMU: MPU6050 I2C connection [OK].
IMU: HMC5883 I2C connection [OK].
IMU: MS5611 I2C connection [OK].
MPU6050: Self test gyro X. low: 10.0, high: 105.0, measured: 45.34
MPU6050: Self test gyro Y. low: -105.0, high: -10.0, measured: -47.72
MPU6050: Self test gyro Z. low: 10.0, high: 105.0, measured:MPU6050: Self test acc X. low: 0.30, high: 0.95, measured: 0.48
MPU6050: Self test acc Y. low: 0.30, high: 0.95, measured: 0.50
MPU6050: Self test acc Z. low: 0.30, high: 0.95, measured: 0.64
MPU6050: Self test [OK].
HMC5883L: Self test [OK].
MS5611: Self test [OK].
Code: Select all
ng!
SYS: Build 37:75f398b2283a (tip) CLEAN
SYS: I am 0x871910375552864966FFF48 and I have 128KB of flash!
IMU: MPU6050 I2C connection [OK].
IMU: HMC5883 I2C connection [OK].
IMU: MS5611 I2C connection [OK].
MPU6050: Self test gyro X. low: 10.0, high: 105.0, measured: 45.34
MPU6050: Self test gyro Y. low: -105.0, high: -10.0, measureMPU6050: Self test gyro Z. low: 10.0, high: 105.0, measured: 57.37
MPU6050: Self test acc X. low: 0.30, high: 0.95, measured: 0.49
MPU6050: Self test acc Y. low: 0.30, high: 0.95, measured: 0.50
MPU6050: Self test acc Z. low: 0.30, high: 0.95, measured: 0.64
MPU6050: Self test [OK].
HMC5883L: Self test [OK].
MS5611: Self test [OK].