Page 1 of 1

How do I save my settings?

Posted: Thu Jan 28, 2016 10:57 pm
by Analogy
I'm going into the parameters tab and setting it to rate mode and tuning PIDs to make it fly the way I want, but if I power it off and back on those settings are lost... Is there any way to make those settings persist?

Re: How do I save my settings?

Posted: Fri Jan 29, 2016 8:27 am
by tobias
This is currently not possible but development of it is ongoing. Currently one have to change the hard coded values in the code and flash it.

Re: How do I save my settings?

Posted: Fri Jan 29, 2016 8:15 pm
by Analogy
Oooookay, are there step by step instructions somewhere that will show me how to compile and flash the firmware as a non-programmer type? I can use Windows or MacOS.

Re: How do I save my settings?

Posted: Sat Jan 30, 2016 2:17 am
by chad
Analogy wrote:Oooookay, are there step by step instructions somewhere that will show me how to compile and flash the firmware as a non-programmer type? I can use Windows or MacOS.
You should definitely use the Bitcraze 0.6 VM. Then you don't have to bother with checkouts or dev environments since it's all set up there already! You will have to checkout a different branch though, but that's easy. Run the VM then launch the Terminal Emulator (icon on the Desktop) and enter the following lines (hit return after each line):

Code: Select all

cd ~/projects/crazyflie-firmware
git checkout master
git pull
make clean
make
After you change whatever you're going to change, just run 'make' again to recompile.

Code: Select all

make
Then you can flash the firmware with the bootloader in the GUI client (the icon is for the client is also on the desktop and the firmware binary is built into the crazyflie-firmware directory and called cf2.bin) or, since you're already in the Terminal, just flash it from there with the following:

Code: Select all

make cload
and then restart your Crazyflie in bootloader mode before the 10 seconds are up.

On the other hand, if you want to get set up to build firmware on your Mac, check out my blog post on doing just that!