Page 1 of 1

Getting started with programming

Posted: Mon Jul 29, 2013 2:19 am
by ingfut
Hi,
Crazyflie is with me now :) soldering and all done (can fly dont have USB joystick )
Here are some of point i would like to ask
1:- Flying crazyflie is not my concern when i bought it, i want to program some of the control algorithm on it and some new sensor improvement/interfaces.
2:- I was not able to get any link/doc/wiki about how to getting started with programming with it, please suggest some basic how to do about it
3:- Please suggest how can i control it with my PC/laptop, i am ready to write a program to control it

suggestion
1:- Joystick is really is could be problem to control quad, we should have some other control methods also

Re: Getting started with programming

Posted: Tue Aug 06, 2013 2:45 pm
by marcus
Hi,

The easiest way to get started is to download the Bitcraze VM which contains the complete build environment and code. If you would like to write your own Python application then have a look at the Python API.

Re: Getting started with programming

Posted: Thu Aug 15, 2013 6:51 am
by ingfut
Hi marcus thanks for your reply

As i m not able to find any USB PS3/xBox controller here all are wireless one, can you please suggest any controller which can work with crazyflie (any brand model )

Re: Getting started with programming

Posted: Mon Aug 19, 2013 1:29 am
by ingfut
Hi
Finally i am able to fly CF, i bought a cheap game controller (10$) and it worked out of box..

issue which i have faced in just 5 min flight CF has hit so many time on walls (i should hv not fly it in my room)
Please advice some protection with this.. how can i protect this?

Re: Getting started with programming

Posted: Mon Aug 19, 2013 7:12 am
by tobias
There are some landing gear ideas in the hacks and mods section of the wiki which you could try out.

Re: Getting started with programming

Posted: Tue Aug 20, 2013 12:56 am
by ingfut
Hi,
I have downloaded the Cf VM, Please advice how to build/update/play around with frame work project

Thanks

Re: Getting started with programming

Posted: Sat Feb 08, 2014 5:46 pm
by aknorbert
Hey

I could also need some help on getting started with hacking the CF, e.g. increase/decrease thrust by using keyboard up and down button, or receive CF sensor data in an excel file.

Thanks a lot

Re: Getting started with programming

Posted: Mon Feb 10, 2014 10:24 pm
by Pyrex
I am using a XBOX 360 Wireless controller with the Bitcraze VM. It's pretty simple to get working and I'd suggest you give it a try as it makes flying the little monster a little simpler.

Code: Select all

sudo apt-get install --install-recommends jstest* joystick xboxdrv
Plug in the XBOX Wireless Receiver and the turn on the XBOX remote, then pass it to the VM using USB Device Sharing or whatever your software supports I am using VMWare Workstation.

Then you need to execute:

Code: Select all

xboxdrv --silent
It should say that it found the remote.

Let me know if you have trouble!