Getting started with programming

Post here to get support
Post Reply
ingfut
Beginner
Posts: 9
Joined: Tue Jul 02, 2013 6:40 am

Getting started with programming

Post 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
marcus
Bitcraze
Posts: 659
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: Getting started with programming

Post 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.
ingfut
Beginner
Posts: 9
Joined: Tue Jul 02, 2013 6:40 am

Re: Getting started with programming

Post 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 )
ingfut
Beginner
Posts: 9
Joined: Tue Jul 02, 2013 6:40 am

Re: Getting started with programming

Post 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?
Last edited by ingfut on Tue Aug 20, 2013 12:54 am, edited 1 time in total.
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Getting started with programming

Post by tobias »

There are some landing gear ideas in the hacks and mods section of the wiki which you could try out.
ingfut
Beginner
Posts: 9
Joined: Tue Jul 02, 2013 6:40 am

Re: Getting started with programming

Post by ingfut »

Hi,
I have downloaded the Cf VM, Please advice how to build/update/play around with frame work project

Thanks
aknorbert
Beginner
Posts: 1
Joined: Sat Feb 08, 2014 5:29 pm

Re: Getting started with programming

Post 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
Pyrex
Beginner
Posts: 4
Joined: Tue Feb 04, 2014 3:40 am

Re: Getting started with programming

Post 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!
Post Reply