hi, I recently saw the cubli videos on youtube (a cube with 3 reaction wheels that keep it balanced on the edge). I wanted to make one but I had a doubt: to use a Madgwick filter I have a mpu6050 and a qmc5883L only that the qmc5883L sensor is too sensitive to variations in magnetic fields (if I bring the phone closer the measurement is wrong) it seems to me it almost makes the situation worse. Can you recommend sensors in the range below the maximum 10-15€ that are useful? has anyone already created a code for the Madgwick filter that works well?
No filter can correct systematic measurement errors, only random measurement errors (and even those are usually assumed to be Gaussian noise).
do you have an already tested version of the Madgwick filter? so to understand if I have the sensor defective then
Keep your phone further away? Turn the gain down on the magnetic sensing?
The sensor is supposed to measure weak magnetic fields, so it seems to be working well.
To be used for the Madgwick filter, it must be calibrated. Follow this tutorial: Tutorial: How to calibrate a compass (and accelerometer) with Arduino | Underwater Arduino Data Loggers
1 Like
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.