Page 1 of 1

CrazyFlie Android + Python (Server/Client) without OTG Cable

Posted: Sat Oct 26, 2013 2:22 pm
by shreks7
When i got my Crazyflie Quadcopter, i didnt have a spare PS3/Xbox or any generic controller lying around to fly it. Neither the OTG cable i had was working with my android device. So i thought of writing an Android app similar to the Bitcraze Android Client but tweaked it a little bit.

Now you can fly Crazyflie with an Android device, even if you dont have a PS3/XBOX controller or an OTG cable.

This has two parts -
Android Client
PC Client

Both the clients are similar to the the original CrazyFlie client/Server.

The Android App creates a NanoHttpd server to stream json data, which PC client reads and transmits it to CrazyFlie. You can even set the maximum/min thrust.

This is still under development, feel free to contribute and improve. :)

https://github.com/shreks7/crazyflie-android-no-otg
shreks7

Posts: 2
Joined: Fri Oct 25, 2013 5:26 am

Re: CrazyFlie Android + Python (Server/Client) without OTG C

Posted: Sat Oct 26, 2013 2:33 pm
by derf
Please do not crosspost.

Re: CrazyFlie Android + Python (Server/Client) without OTG C

Posted: Sat Oct 26, 2013 2:41 pm
by shreks7
derf wrote:Please do not crosspost.
Noted :geek:

Re: CrazyFlie Android + Python (Server/Client) without OTG C

Posted: Sat Oct 26, 2013 3:23 pm
by derf
It sounds like an interesting approach to use the Android client without an OTG cable, but what's the advantage compared to using something
like Droidmote which is basically a Client/Server for controlling your PC from your Android device (it acts as a gamepad for your PC)?

For me, not having to drag around the PC is the main advantage of using the Android client. :D

Re: CrazyFlie Android + Python (Server/Client) without OTG C

Posted: Fri Dec 06, 2013 5:18 pm
by junoon53
This is pretty cool since my Nexus 4 doesn't support OTG!
But how do I get the PC client running? Could you help me out? :)

Re: CrazyFlie Android + Python (Server/Client) without OTG C

Posted: Fri Dec 06, 2013 8:04 pm
by junoon53
^^ Nvm, I got it working :D

Thanks for this project. Really helped me understand how the control libraries work