Arduino Projects DISCUSSION

Getting started with programming

Started by syedzainnasir Getting started with programming
1 replies 248 views 2 participants
Latest activity · 24 Feb 2017

Getting started with programming

syedzainnasir Arduino Projects Forum
#1
Hello,

This is my very first post. I just assembled my Crazyflie and established a link ect. cf client works but I don't have a controller so I can't actually fly the quad yet.

I bought this project with the specific intent on learning to operate it using only programming script on my computer.n I just need to be pointed in the right direction.

Can someone please help me to do the following:

1) Where do I actually do the programming? I am pretty good with Arduino programming and I understand the IDE. I think I read that I need to load a Virtual machine or VM? Is the VM the actual Python programming environment?

2) Are there any example scripts that show the structure of the program that sends commands to the quad copter?

3) Probably most important; from where do I execute / upload that script? Is it through the cf client somehow or is it more complicated?

Thank you for your help.

Community replies 1

Re: Getting started with programming

#2
[quote=Timothy post_id=174 time=1487947575 user_id=79] Hello,

This is my very first post. I just assembled my Crazyflie and established a link ect. cf client works but I don't have a controller so I can't actually fly the quad yet.

I bought this project with the specific intent on learning to operate it using only programming script on my computer.n I just need to be pointed in the right direction.

Can someone please help me to do the following:

1) Where do I actually do the programming? I am pretty good with Arduino programming and I understand the IDE. I think I read that I need to load a Virtual machine or VM? Is the VM the actual Python programming environment?

2) Are there any example scripts that show the structure of the program that sends commands to the quad copter?

3) Probably most important; from where do I execute / upload that script? Is it through the cf client somehow or is it more complicated?

Thank you for your help. [/quote]
1) On your PC. You can write the code in any text editor - python does not need a compiler. There are also IDEs for python, e.g. PyCharm.
2) https://github.com/bitcraze/crazyflie-clients-python/tree/master/examples
3) You run it using python, e.g. from a command prompt you can use "python script.py"

Recommended Tutorial: [url=http://www.theengineeringprojects.com/2015/11/getting-started-pixy-camera.html]STARTED WITH PIXY CAMERA[/url]
TEP COMMUNITY