Android client with basic support for PS3 controller

Firmware/software/electronics/mechanics
markusw1984
Beginner
Posts: 10
Joined: Sun Dec 22, 2013 6:43 pm

Re: Android client with basic support for PS3 controller

Post by markusw1984 »

I rooted my Nexus 5 and now everything is working fine via Bluetooth.
One last question I have. Is it possible to set the buttons to other values.
I like to put the thrust to the analog R2. This makes it much easier to fly. than you only have to control the yaw with the analog stick.
that would be great
derf
Expert
Posts: 163
Joined: Fri May 31, 2013 12:17 am
Location: Germany

Re: Android client with basic support for PS3 controller

Post by derf »

In general you can change buttons and axes in Preferences -> Gamepad axis and button mapping.

But... you found a bug: In the latest version of the app, using analog R2 as thrust does not work, because the thrust axis gets inverted.
And negative thrust does not make any sense. ;)

I will upload a fixed version in the next few days.
Can you create an issue in the Bitbucket tracker for this?
markusw1984
Beginner
Posts: 10
Joined: Sun Dec 22, 2013 6:43 pm

Re: Android client with basic support for PS3 controller

Post by markusw1984 »

Ok, i´ll do that in the next time.
But unfortunately I don´t get so far. When I push on "Right analog X axis" for example, a message appeares -"CrazyControl" is closed-.
So there is a bigger bug?

Could you shorlty explain me, when everything is working, how i can programm the thrust to the analog R2?
derf
Expert
Posts: 163
Joined: Fri May 31, 2013 12:17 am
Location: Germany

Re: Android client with basic support for PS3 controller

Post by derf »

The "force close"-bug is already fixed in the latest version (https://bitbucket.org/fredg02/crazyflie ... -01-13.apk).
With this version you can "program the thrust to analog R2", without the app crashing.

Nevertheless using the analog R2 as thrust still does not work as I explained in my last post.
I'll try to fix it tonight.
derf
Expert
Posts: 163
Joined: Fri May 31, 2013 12:17 am
Location: Germany

Re: Android client with basic support for PS3 controller

Post by derf »

New version is uploaded here: https://bitbucket.org/fredg02/crazyflie ... -01-29.apk

Please test and report back.
markusw1984
Beginner
Posts: 10
Joined: Sun Dec 22, 2013 6:43 pm

Re: Android client with basic support for PS3 controller

Post by markusw1984 »

It´s working PERFECT :D
Post Reply