Control your AR AR.Drone with Playstation 3 gamepad over WiFi
This is my first post on this forum, hopefully not the last one
I made this short description maybe somebody else want to use the AR AR.Drone with an analog controller but want a "cheap" solution.
You will need 3 things for this:
Rooted Android device with WiFi and Bluetooth.
Sixaxis Controller application from Android Market (there is a compatibility checker to find out if your device can handle Playstation 3 controllers or not) https://play.google.com/store/search?q=sixaxis&c=apps
Sixaxis Playstation 3 (with or withou Dualshock) controller
Motorola Defy (480x854 px) phone
AR AR.Drone 1.0 with 1.7.10 firmware
I can recommend the AR.Freeflight app. for this, because on my Motorola Defy + Sixaxis Controller environment it gave me the smoothest control over my AR.Drone (compared to AR.Pro and ARDrone Flight).Step 1
– Pair your PS3 controller with your Android device.
For detailed instructions read here: http://www.dancingpixelstudios.com/sixaxiscontroller/instructions.html
You will need your PC at the first time to pair the controller with your Android device.Step 2
– Make picture for touch profile.
Connect to your AR.Drone over WiFi with your desired AR.Drone control application and make a screenshot. I used Screenshot UX Trial from Market to create screenshot.Step 3
– Create touch profile.
This touch profile emulation will do the work on the touch screen while you are using the gamepad so design your profile good!
On your Android device go to Settings -> Language & Keyboard.
Enable “Sixaxis Controller”
Go to “Sixaxis Controller” settings -> Touch Emulation.
I set the orientation offset to 0 degrees
Edit touch profiles, and load the previously created image.
In the “Add Button” submenu add the ANALOG_LEFT and ANALOG_RIGHT controllers to the profile.
The analog controller size is resizable. I also added START button to start the AR.Drone, and X for emergency shutdown.
Create your profile!
I used my phone in vertical state because of 0 degree offset. Also reversed the left and right analog axis.
After your profile is ready, save it. It is stored on your SD CARD\data\com.dancingpixelstudios.sixaxiscontroller\profiles\ folder.
You can edit your profile here for further fine tune.Content of my touch profile:
#background: content://media/external/images/media/387 3 0 0 0 0
ANALOG_RIGHT 0.35336044 0.20138153 0.30173543 0 0.2 0.25 0 1 0 0 0
START 0.03258656 0.5 0 0.3
SELECT 0.7606924 0.05260355 0 0.3
ANALOG_LEFT 0.35132402 0.7996811 0.30407965 0 0.2 0.25 0 1 0 0 0
CROSS 0.9837068 0.5010628 0 0.3
– Activate the touch profile
Go back to Sixaxis Controller program, and load your touch profile.Step 5
Enable Airplaine mode if you are using an Android phone.
Connect PS3 to Android device.
Start your AR.Drone control application and connect to your AR.Drone.
Enjoy the analog controllers.
You can buy a phone arm band for holding your device while you are using both of your hands for the PS3 controller.