Page 1 of 1

Better use Linux, Windows or Mac

Posted: Sun Mar 31, 2019 10:20 pm
by tdubick
I bought the swarming kit for my classroom. Once we can establish LOS, I would like my students to start programming flights. We are running Windows 10, but should I install Linux on a computer?

Thanks
Tom

Re: Better use Linux, Windows or Mac

Posted: Mon Apr 01, 2019 1:40 pm
by arnaud
Hi,

It depends a lot of what you want to do.

Using the Python API is possible in Windows/Mac/Linux and the only difference between the systems is some details in the setup procedure, once it works they all work the same way so you should use what you are used to. If you use an IDE like VSCode or PyCharm, you can get syntax highlighting and debug capabilities. There is one getting started guide that shows hot to get a python script running on Windows: https://www.bitcraze.io/getting-started ... ng-bundle/. Once you can run script, a good example is the position commander demo: https://github.com/bitcraze/crazyflie-l ... emo.py#L69

If you want to modify the Crazyflie firmware though, it is easier to be in an Unix system like Linux of MacOS. It is possible to setup the dev environment for the firmware on Windows (and it is documented in the wiki), but it is not as straightforward as for the python case.

Re: Better use Linux, Windows or Mac

Posted: Mon Apr 01, 2019 1:49 pm
by tdubick
Thank you