Page 1 of 1

Bypassing start up procedure on Crazyflie 2.0

Posted: Thu Feb 01, 2018 7:21 pm
by djc3xy
When using the crazyflie if I start the system suspended by a wire the crazyflie wont connect to the code a wrote but when I allow the crazyflie to boot up on a flat surface this is fixed. Is there a way to bypass this start up cycle in the firmware.

Re: Bypassing start up procedure on Crazyflie 2.0

Posted: Fri Feb 02, 2018 12:44 pm
by arnaud
The part of startup that is blocked is most likely the gyro bias estimation, it requires the quad to be very still.

You can bypass it by setting gyroBiasFound to "true" instead of these lines: https://github.com/bitcraze/crazyflie-f ... #L283-L286

This will set the bias to 0 and will allow the quad to continue booting.

Re: Bypassing start up procedure on Crazyflie 2.0

Posted: Fri Feb 02, 2018 3:14 pm
by djc3xy
How do I change and implement this code? (Step by Step please I am not good at the programming) Using a Linux computer with Python installed.

Re: Bypassing start up procedure on Crazyflie 2.0

Posted: Fri Feb 02, 2018 4:06 pm
by arnaud
There is a getting started guide for crazyflie development: https://www.bitcraze.io/getting-started ... velopment/. If you go through it you will have everything setup to make and flash your own firmwares.

Then, just replace the group of line I linked by

Code: Select all

gyroBiasFound = true;