Page 1 of 1

Consistent attitude offset in CF2.0

Posted: Wed Apr 25, 2018 10:19 pm
by droneguy
Hey guys,
I tried installing the bootloader and new firmware on one of the Crazyflie 2.0s and now i see a persistent bias in the attitude.
The artificial horizon seems to reflect the manual tilting of the robot, but when kept on a level surface, the horizon shows the attitude bias again.
Note that this does not converge to zero when left as is. The bias is pretty stable which in my case is a 8 degree roll. (see image)
CF2_bias.JPG
I have also tried resetting the eeprom using "python3 write-eeprom.py"

Also, here's the console output:
CF2_console.JPG
CF2_console.JPG (45.19 KiB) Viewed 2348 times
Any pointers?

Re: Consistent attitude offset in CF2.0

Posted: Thu Apr 26, 2018 8:44 am
by tobias
I interpret it as the roll bias was not there before you updated the firmware? If you open the configuration dialog do you have zero for the trim values?

Re: Consistent attitude offset in CF2.0

Posted: Thu Apr 26, 2018 4:48 pm
by droneguy
Yes, and as I mentioned in my original post, I rewrote the default eeprom settings using the write-eeprom.py script.

In any case, here's the config window:
CF2_Config.JPG

Re: Consistent attitude offset in CF2.0

Posted: Mon Apr 30, 2018 12:15 pm
by tobias
To me it then sounds like a software problem. Could you go back to the old FW and test? What new FW did you flash?