PC software for control Ar.Drone without iPhone

Added by Jiri Valerian 1388 days ago

Hi everyone,

Parrot has a software application for control Ar.Drone without iPhone only from PC or notebook with WIFI.

Do you anyone have any information about this, that will be this PC software on the installation CD with Ar.Drone or a free download for end users ???


Replies

RE: PC software for control Ar.Drone without iPhone - Added by Wilke Jansoone 1387 days ago

Hello,

If I understand your question you are asking whether there will be software available to control the ARDrone on PC platforms. At the moment there is a Linux implementation available that provides basic functionality (it is available via download). You can attach a gamepad and pilot the ARDrone, I do not believe video output to the screen is included but ARDrone team can provide more detailed information of course.
Because I think the PC is also an interesting platform (and more specifically using Microsoft Windows as OS) I am working on creating a .NET version of the software. It is based on the C API in the SDK but of course with a totally different architecture. Currently I am able to pilot the drone using keyboard and joystick, video output is done via .NET 3.0 imagesource. Using the Windows Media Encoder I can also create video footage. I still have quite a few things to implement (WIIMote support, accelerometer support, implementing control worker thread, finetuning ...) so it is not yet finished.

Kind regards,

Mrs. Wilke Jansoone

RE: PC software for control Ar.Drone without iPhone - Added by Ken K 1386 days ago

Mrs. Jansoone,

Your Windows software sounds very interesting. I believe developers here can add more interesting functionalities to it. Wiimote support is great! Please keep it up!

RE: PC software for control Ar.Drone without iPhone - Added by Jiri Valerian 1385 days ago

Interest about the Ar.Drone is also from a people's who have various
a RC models and a PC, but they no have the iPhone. Many of them
do not want the iPhone. If was the Ar.Drone shipped with a software
for PC in particular for OS Windows it should a better chance even
like a RC model hobby.

RE: PC software for control Ar.Drone without iPhone - Added by Jake Forsberg 1381 days ago

Hi Mrs. Jansoone and all other who may be of help,

I'm incorporating the ARDrone into multivehicle environments for autonomous control (Linux).

Have you put any effort towards emulating a gamepad to automate basic maneuvers such as take off and land? Do you have any suggestions as to controlling the ARDrone directly from the API without the use of an iPhone or controller?

First idea I had: run the sdk demo using a game pad to control the ARDrone. Save each event buffer from the controller. Land. On the next run, feed update_gamepad with the saved event buffers for a "playback" of the past maneuvers.

Thank you for any help, suggestions, or positive criticism!

RE: PC software for control Ar.Drone without iPhone - Added by Wilke Jansoone 1381 days ago

Hello Jake,

I did not actually fly the ARDrone from the Linux platform, the main reason for this being that all the Linux platforms I use are actually virtualized, which would make the WIFI communication a bit more complicated. The provided Linux example for the second version of the SDK is a basic application that should be able to receive gamepad commands but is not able to output video images.
So to answer your questions:
- No effort should be put in emulating a gamepad as this is provided by the SDK. The gamepad model is kind of an on/off model in that you start a manoeuvre when you press a key and stop the manoeuvre when you release the key.
- Take off and landing are basic manouevres that are preprogrammed in the ARDrone itself. In order to take of the SDK basically flips a bit, to land the same bit is flipped again. The SDK API abstracts this by method calls.
- The idea you have about replaying the network packets is certainly viable, the difficulty will be of course the timing. Instead of replaying network packets I think it is as easy to provide sequences of API calls, this abstraction level seems more intuituve. Actually one of the ideas I had was to let the ARDrone make a 360° sequence of images and then send them to photosynth to make a virtual 3D panorama. This sequence would be a preprogrammed routine using the API.

Kind regards,

Mrs. Wilke Jansoone

RE: PC software for control Ar.Drone without iPhone - Added by Jake Forsberg 1380 days ago

Thank you for the information, Mrs. Jansoone,

In case you or anyone is ever interested, I've been running Ubuntu as a guest OS with VirtualBox. Two clicks in the VM settings to bridge the wireless connection. I'd rather run natively on mac, but have already wasted some time working toward a successful build on Snow Leopard (maybe I'll seek guidance from Jens Andersen for compiling on mac). Anyhow, the sdk_demo runs well on the Linux virtual machine.

Have you attempted yet to program a sequence of routines with the abstracted API calls such as 'ardrone_tool_set_ui_pad_start'? These work great when called from update_gamepad using an actual gamepad. I'm still having trouble characterizing the behavior of the drone when calling a preprogrammed sequence of these abstracted API functions. Like you mentioned, timing is important. I'm just suspending the thread with usleep for a couple seconds between "button pushes" for these initial tests. I would think others have tried to do something this simple. Maybe I'll begin a new discussion on automating flight with API calls. Thanks for your input!

RE: PC software for control Ar.Drone without iPhone - Added by robert mcintosh 1329 days ago

Were you ever able to polish up your windows navigation software? I'm dying to give it a try. Please let us know. I think this would be the ideal way to fly. Thanks!

RE: PC software for control Ar.Drone without iPhone - Added by Robert Bourge MD 1308 days ago

Mrs Jansoone:
I too am very interested in a Windows application to control my AR.DRONE (and an Android App). I would be happy to support your effort in that regard in any way.
/Bob

RE: PC software for control Ar.Drone without iPhone - Added by Samir Bouaziz 1307 days ago

Hello,
I am professor in Polytech'PAris Sud and I would like to introduce new course and specially labs using AR DRONE.
My first step is to controle the AR DRONE by PC (under XP) using WIFI KEY (USB WIFI).
I would like to buy 10 AR DRONE for this course.

Is there SDK on PC Win32 (XP) to design programs to communicate, control the AR DRONE and to grab images to make Image processing on the PC ?
Thanks.

RE: PC software for control Ar.Drone without iPhone - Added by Nicolas B. 1304 days ago

Hello,
check out the thread "Programming and controlling the ARDrone with Urbi" in the forum.
with Urbi you can get the image and controll all other data.

urbi runs on linux and windows.
with gostai lab you can create easy frontends to work with.

regards
nico