Hmm, that's not a bad plan, it'd be reasonably easy to see the offsets from the motors at various speeds by logging the mag readings while the cf is strapped down and rev'd
I re-coded the hover 'thrust control' part of Phiamo's code here: https://bitbucket.org/mjc506/crazyflie-firmware I still need to tweak the PID parameters (and work out a sensible D part) but so long as the set point isn't too far away, it hovers quite happily. I'd recommend holding on to your cf at...
sure, code is here: https://bitbucket.org/mjc506/crazyflie-firmware and it compiles and runs fine. You will also need a patched cf-client - I used Phiamo's code: https://bitbucket.org/phiamo/crazyflie-pc-client (but couldn't get his firmware working for me) Altitude hold works ok, but I still need t...