Skip to content

Coding Questions #199

Answered by krichardsson
FallowLand asked this question in Q&A
Discussion options

You must be logged in to vote

Hi!

a. Why are some codes written in python and some in c++? I noticed that to change the LED color, I have to use c++. Whereas, to fly the following flight path (https://www.bitcraze.io/documentation/tutorials/getting-started-with-stem-drone-bundle/) I use python

Code that is running in a PC is written in python to make it as platform independent as possible, while code that is running in the Crazyflie is written in C (not C++) since it is a better language for low level control in embedded systems. The python lib and client are in python while the Crazyflie firmware is in C.

b. If I wanted to do the same flight in the previous link but using c++, do I create a new .h file or do I put…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by FallowLand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment