text data bss dec hex filename
79596 460 16344 96400 17890 cflie.elf
I downloaded your code as an archive (rather than installing hg/Mercurial) so the version.c was messed up and i hand patched it to compile. No other problem with external library dependancies, very simple to compile!
Will you switch to the MARG/AHRS implementation for stabilisation including the magnetometer in the 10DOF version of HW? Seems pretty strait forward to drop in that code. Is the pressure sensor readings combined with the magnetometer?
We have quickly been experimenting with a MARG filter but it requires the magnetometer to be calibrated since it is very offset by the motor magnet fields. Other then that it should be pretty straight forward as the Madgwick's and Mayhony's algorithms exist in MARG versions as well. However making a calibration routine is what takes time. Maybe we can make use of Fabio's work (FreeIMU).
tobias wrote:We have quickly been experimenting with a MARG filter but it requires the magnetometer to be calibrated since it is very offset by the motor magnet fields. Other then that it should be pretty straight forward as the Madgwick's and Mayhony's algorithms exist in MARG versions as well. However making a calibration routine is what takes time. Maybe we can make use of Fabio's work (FreeIMU).
R.I.P Fabio.
Im new to embedded stuff and I2c bus, how can you programmatically know if the magnetometer is onboard or not? From the schematics is looks like its connected on the MCU6050 aux port, so the readings will be delivered together with the Acc and Gyro readings?
eman wrote:Could you post your Crazyflie firmware code in Keil ARM for me?
Thank you.
I would really like to get a Keil Crazyflie project file that works with the project structure used by the Crazyflie code too!
I have been trying to get a good compile working with Keil.