Configure input device problem

Post here to get support
Post Reply
TylerStorm
Beginner
Posts: 7
Joined: Tue Apr 14, 2015 4:39 pm

Configure input device problem

Post by TylerStorm »

Hello! I have an xbox controller hooked up to the client. It's recognized and will "control" the crazyflie, but I can't get it configured. When I hit detect, a prompt comes up asking to move or press button/joystick, but nothing ever happens. And, the current configuration is terrible.

Thanks!
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: Configure input device problem

Post by chad »

You can try the workaround posted here, but it looks like there's a fix in Github for the client already, so maybe you just want to update your repository clone if you have one...
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
jhdgkss
Beginner
Posts: 5
Joined: Sun Apr 19, 2015 7:24 pm

Re: Configure input device problem

Post by jhdgkss »

How do i implement this fix to the PC Client?
zforum69
Beginner
Posts: 5
Joined: Thu Apr 16, 2015 10:42 am

Re: Configure input device problem

Post by zforum69 »

jhdgkss wrote:How do i implement this fix to the PC Client?
have you tried running the develop branch for the PC Client?

Z
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: Configure input device problem

Post by chad »

zforum69 wrote:
jhdgkss wrote:How do i implement this fix to the PC Client?
have you tried running the develop branch for the PC Client?

Z
That's right! Just clone the GitHub repository and make the develop branch the active one:

Code: Select all

git clone https://github.com/bitcraze/crazyflie-clients-python.git
cd crazyflie-clients-python
git checkout develop
python ./bin/cfclient
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
jhdgkss
Beginner
Posts: 5
Joined: Sun Apr 19, 2015 7:24 pm

Re: Configure input device problem

Post by jhdgkss »

Sorry for the late reply.
I am not that familer with how python works, as i am more use to c#.
Would it not just be easier to re post a new exe file for download.
zforum69
Beginner
Posts: 5
Joined: Thu Apr 16, 2015 10:42 am

Re: Configure input device problem

Post by zforum69 »

jhdgkss wrote:Sorry for the late reply.
I am not that familer with how python works, as i am more use to c#.
Would it not just be easier to re post a new exe file for download.
I don't think so as there a few branches. I was able to get the Python envrionment to work on my Windows XP PC without too much trouble by following the wiki: https://wiki.bitcraze.io/doc:crazyflie:dev:env:python If you have a linux evironment or a later version of Windows I have no doubt it would be even easier. Once the environment is setup with the necesary dependancies I then just download the zip package for the branch/es that I want to run.

Z
Post Reply