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

Firmware/software/electronics/mechanics
Post Reply
shreks7
Beginner
Posts: 10
Joined: Fri Oct 25, 2013 5:26 am

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

Post 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
derf
Expert
Posts: 163
Joined: Fri May 31, 2013 12:17 am
Location: Germany

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

Post by derf »

Please do not crosspost.
shreks7
Beginner
Posts: 10
Joined: Fri Oct 25, 2013 5:26 am

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

Post by shreks7 »

derf wrote:Please do not crosspost.
Noted :geek:
derf
Expert
Posts: 163
Joined: Fri May 31, 2013 12:17 am
Location: Germany

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

Post 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
junoon53
Beginner
Posts: 5
Joined: Fri Dec 06, 2013 1:51 pm

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

Post 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? :)
junoon53
Beginner
Posts: 5
Joined: Fri Dec 06, 2013 1:51 pm

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

Post by junoon53 »

^^ Nvm, I got it working :D

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