Page 1 of 2

Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Mon Jan 16, 2012 6:18 am
by CyberVillain
I posted some videos I've taken while flying my Parrot ArDrone in the Sony HMZ thread and Okta showed some interest in it so i thought i post a thread about it.

The Parrot ARDrone was originally designed to use with a iPhone (There are some augmented reality games for it, pretty cool, you can shoot missiles that are rendered in the camera view and the drone can track other drones using colors so it knows if it was a hit or not) but thanks to the open API there are several other platforms it currently works for, I bought mine a year ago and there wasn't any good PC software around so i made my own in .NET with WPF.

What you need

1) A drone http://ardrone.parrot.com/parrot-ar-drone/en/" onclick="window.open(this.href);return false;
2) Long range adapter the best one is Alfa Networks AWUS036H (It has to be this exact model for best range)
3) A good joystick
4) A laptop with HDMI output if you want to use the Sony HMZ
5) My software (Or use the other crappy alternatives :D)

My software isnt released public yet (I can give it out on requests)

Here are a few clips i made of it

Some precision flying that im proud of :D
[youtube-hd]http://www.youtube.com/watch?v=e4SYWWlMmTk[/youtube-hd]

[youtube-hd]http://www.youtube.com/watch?v=zfXUOkdCNac[/youtube-hd]

[youtube-hd]http://www.youtube.com/watch?v=Gc7PWcSW_WA[/youtube-hd]

[youtube-hd]http://www.youtube.com/watch?v=4aK_2km75a8&[/youtube-hd]

One of my height records, also beautiful view of the Stockholm archipelago
[youtube-hd]http://www.youtube.com/watch?v=nxne1BG15pg[/youtube-hd]

A alternative fighter hud version I did for my software
[youtube-hd]http://www.youtube.com/watch?v=Hcj24nDm ... ature=plcp[/youtube-hd]

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Mon Jan 16, 2012 10:14 am
by Likay
I don't look at this section of mtbs3d too much but this is cool! 8-)

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Mon Jan 16, 2012 11:22 am
by Synexious
Likay wrote:I don't look at this section of mtbs3d too much but this is cool! 8-)
This is the only section I look at :p

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Mon Jan 16, 2012 11:45 am
by CyberVillain
This discussion should be keept at VR and AR :P
For exmaple how i should create a beam splitter for the drone camera :D

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Mon Jan 16, 2012 12:04 pm
by Likay
Aphradonis wrote:
Likay wrote:I don't look at this section of mtbs3d too much but this is cool! 8-)
This is the only section I look at :p
Sorry. I did not mean to be offensive. :P
CyberVillain wrote:This discussion should be keept at VR and AR :P
For exmaple how i should create a beam splitter for the drone camera :D
Great idea! Even greater: Get another drone and sync them to operate in the exact same way in the air while maintaining a precise distance from each other. Those hyperstereophotos/videos would be something!
Dunno how much you're into such budget though.
Anyway: The videos are cool and i appreciate you sharing them. 8-)

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Mon Jan 16, 2012 2:12 pm
by android78
CyberVillain wrote:This discussion should be keept at VR and AR :P
For exmaple how i should create a beam splitter for the drone camera :D
Well, what I'm working on for an RC plane is actually using two micro cameras, two 5.8GHz video transmitters/receivers and a HMD that will have two control boards, one for each eye micro-display.
The 5.8GHz video transmitters have 8 select-able channels, so I'm hoping that I can select two that have little interference and that won't interfere with each other.

For those curious about the hardware that I've ordered:
- 2 * http://www.foxtechfpv.com/rx5808-58g-8c ... p-303.html" onclick="window.open(this.href);return false;
- 2 * http://www.foxtechfpv.com/tx5823-200mw- ... p-272.html" onclick="window.open(this.href);return false;
- 2 * http://www.ebay.com/itm/ws/eBayISAPI.dl ... AQ:US:1123" onclick="window.open(this.href);return false;

These I will be putting in a Trimersion HMD http://www.youtube.com/watch?v=4yqVChaRBsQ" onclick="window.open(this.href);return false;

Well, that is the plan. I think for the FPV this is the easiest way to do the stereoscopic thing. It's difficult to sync the cameras for doing an interlaced or side-by-side solution.

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Mon Jan 16, 2012 2:37 pm
by WiredEarp
Good one! I've had the same idea. I have both the Foxtech gear, and the AirWave stuff. There are a few 3D FPV setups out there already, IMHO it will add heaps of immersion!

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Mon Jan 16, 2012 2:58 pm
by android78
WiredEarp wrote:Good one! I've had the same idea. I have both the Foxtech gear, and the AirWave stuff. There are a few 3D FPV setups out there already, IMHO it will add heaps of immersion!
We'll see how it goes.
I do have some concern with how much separation I will need between the cameras for it to work well since I would like to include head tracking, but should be fun crashing in the meantime. ;-)

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Mon Jan 16, 2012 3:57 pm
by WiredEarp
Funnily enough, I think convergence is possibly the more important setting sometimes. I was very surprised that my friends 3D cellphone, which has the camera lenses virtually next to each other (about an inch of separation) took such good 3D photos.
This however may now work so well for long range FPV 3D. Some sort of auto convergence system using a rangefinder or someting could possibly help...

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Mon Jan 16, 2012 4:25 pm
by PalmerTech
For FPV, having the convergence set to somewhere very close to infinity/parallel will almost certainly be best.

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Mon Jan 16, 2012 4:38 pm
by CyberVillain
PalmerTech wrote:For FPV, having the convergence set to somewhere very close to infinity/parallel will almost certainly be best.
Sounds crazy, the convergence is always were you look at in reality (Until a certain point were get so close that the eyes/brain cant converge and you see double)...

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Mon Jan 16, 2012 4:52 pm
by PalmerTech
True, but with FPV, most things are a good distance away. Very rarely will things come closer than a few feet, and if you have any kind of decent convergence, most far away objects will be crossed.

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Mon Jan 16, 2012 4:56 pm
by Likay
Cameras in stereoconfigs should be straight parallell because the camera captures the scene. You choose what to look at and thereby adjust your own convergence.

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Mon Jan 16, 2012 5:53 pm
by CyberVillain
Likay wrote:Cameras in stereoconfigs should be straight parallell because the camera captures the scene. You choose what to look at and thereby adjust your own convergence.
Well, the converge is hardcoded into the steroscopic feed if your cameras are fixed.. It would be really cool if you could have seperate Yaw servos for each camera and then make center of the screen were they converge :D

edit: For the same reason it would be reallt cool if HMDs had eye tracking and sent the info to the stereo drivers

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Mon Jan 16, 2012 7:38 pm
by pierreye
The drone is cool. Wanted to buy one but it's quite expensive. How durable is the quadrocopter?

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Mon Jan 16, 2012 8:30 pm
by WiredEarp
Exactly CyberVillain!

This would be great for HMD's as you point out, as that way you're getting a similar workout for your eyes as you would in reality. Should go some way to eliminating eyestrain.

Also, if you had a eye tracking insert, you could use a micro projector to project a high res image into the centre of your view, and use very low res for everything else to provide a wide FOV - just like our eyes currently work (seeing as we can only resolve fine detail with a small part of our eyes).

I like the look of the Parrot UI you whipped up, artificial horizon is cool :). The video not having any static (unlike mine) is pretty nice as well, although mine is much faster/lag free. Guess thats the tradeoff you get with digital vs analog video broadcasting.

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Mon Jan 16, 2012 8:38 pm
by android78
CyberVillain wrote:
Likay wrote:Cameras in stereoconfigs should be straight parallell because the camera captures the scene. You choose what to look at and thereby adjust your own convergence.
Well, the converge is hardcoded into the steroscopic feed if your cameras are fixed.. It would be really cool if you could have seperate Yaw servos for each camera and then make center of the screen were they converge :D

edit: For the same reason it would be reallt cool if HMDs had eye tracking and sent the info to the stereo drivers
I agree with Likay here, the cameras should be parallel. The eye tracking would only have a purpose if the displays that you are looking at in the HMD also moved as your eyes moved. Head tracking makes sense since the displays move as you move your head.
Rather then changing the direction the cameras are pointing, an offset in the lens of the cameras to adjust convergence makes more sense to me. This way, if you're looking at a square wall in front of you, the top will remain horizontal, the sides will remain vertical, rather then a parallelogram if you were to point the cameras closer together.

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Mon Jan 16, 2012 8:39 pm
by android78
.

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Mon Jan 16, 2012 9:12 pm
by cybereality
This is very cool. I've wanted to do this myself, probably will if I ever find the time. The guys at work have been playing around with these RC helicopters, I might get one myself. They are surprising agile, very easy to control and do all sorts of maneuvers. Hopefully its possible to mount some cameras on them, not sure how much weight they can take.

Anyway, great job. Love the HUD you made.

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Mon Jan 16, 2012 9:27 pm
by android78
cybereality wrote:This is very cool. I've wanted to do this myself, probably will if I ever find the time. The guys at work have been playing around with these RC helicopters, I might get one myself. They are surprising agile, very easy to control and do all sorts of maneuvers. Hopefully its possible to mount some cameras on them, not sure how much weight they can take.

Anyway, great job. Love the HUD you made.
The small coaxial or single rotor ones can't take much weight at all. There have been a lot of people having luck with the 250 or 450 size, but the best heli form seems to be the tri or quad-copters since they add a lot of stability.
I'm more interested in the planes though.
BTW... http://www.rcgroups.com" onclick="window.open(this.href);return false; is a second love of mine. ;-)

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Tue Jan 17, 2012 3:17 am
by CyberVillain
Thanks guys.. the HUD is really, really simple todo with WPF.. Since everything is bindable in WPF even rotation and translation on a image. Glad you liked it :D

There are alot of downtrades with digital transmition over analog, like range to start with.. My friend has a tricopter with 5.8 Ghz video, no headtracking though.. But he uses two cameras, one CMOS for FPV and one GoPro for HD recording... The CMOS camera is really good in low light condition hs you can see from my evening clips (The Ardrone uses a CMos camera similar to the ones in custom FPV, the difference is that is decodes the image to a h264 stream and sends it over WLAN)

The ArDrone is a good startkit, its pretty rough and the spare parts are cheap but you quickly want to advance to the bigger stuff :D

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Tue Jan 17, 2012 4:21 am
by CyberVillain
android78 wrote:The eye tracking would only have a purpose if the displays that you are looking at in the HMD also moved as your eyes moved.
Hmm, if the HMD tracked the eyes, and sent the info the game / driver could set the correct convergence (And even focus if thats desirable), or am i missing something?

But yeah, a moving display would be cool, but the eyes have the fastest muzzles and they move 100 times a second, so i do not think you can move the actual display, would you could do is have a display with higher res then you actually use at a given point.. THen when you move the eyes a micorcontroller moves the image on the display...

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Tue Jan 17, 2012 10:38 am
by fireslayer26
android78 wrote: BTW... http://www.rcgroups.com" onclick="window.open(this.href);return false; is a second love of mine. ;-)
Same here. I'm active in the FPV and Mulirotor forums!

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Tue Jan 17, 2012 5:36 pm
by WiredEarp
Hmm, good point re eye moving speed, it could be hard to keep up with that, unless you had some sort of prism/mirror system that would be able to pan that quickly.

Multirotor has a lot of advantages over single. Did you guys see that team that built like a 20+ multirotor, had a chair for the guy to sit on, and he flew himself around the garden? :)

I've wondered about cellphone links for the digital video transmission. Are modern cellphone data connections fast enough to send the imagery? If so, you could make a drone that could basically transmit from almost unlimited distances...

Otherwise, analogue is where it is at for long range FPV... quite a few people have GoPros (I think this is the brand) with the TV out of the GoPro hooked up to the transmitter, so the GoPro records in high quality, and you fly in analogue quality.

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Tue Jan 17, 2012 6:26 pm
by CyberVillain
I actually wrote a little program for my android phone that forwarded all packets from the internet to the drone and vice versa, the problem is that most of the data is sent FROM the drone and current upload speeds on mobile broadbands are too slow... i tried with 3g but it might work with 4g...

My friend uses two cameras because the gopro isnt very good in low light conditions, a cmos camera is better for that....

Anyway, i will upload a movie when i got my drone connected too my HMZ if and when sony can deliver it to me! :twisted:

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Tue Jan 17, 2012 10:59 pm
by WiredEarp
Yep, a lot of the cameras for FPV have special brightness settings that dim only 1/2 the screen etc so you can fly into the sun without losing contrast etc.

oh, thx Likay et all for the advice about just putting 3D cameras in parallel and not worrying about convergence. I did wonder if this was the best setting since most FPV is fairly high up, and your eyes go parallel after a certain range. For a RC car or something like that, it could be interesting to play with auto convergence sometime.

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Wed Jan 18, 2012 3:13 am
by CyberVillain
WiredEarp wrote:Yep, a lot of the cameras for FPV have special brightness settings that dim only 1/2 the screen etc so you can fly into the sun without losing contrast etc.

oh, thx Likay et all for the advice about just putting 3D cameras in parallel and not worrying about convergence. I did wonder if this was the best setting since most FPV is fairly high up, and your eyes go parallel after a certain range. For a RC car or something like that, it could be interesting to play with auto convergence sometime.
With a Quadrocopter its more fun to fly low actually, I love sniffing the ground :D

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Thu Jan 26, 2012 4:58 pm
by bugsquish
Hi there,

I'm really keen to buy one of these and have been looking into it. I found this on ebay, is this your auction? Looks like the same HUD, and your house! Thought I'd let you know someone might be selling your software.

http://www.ebay.co.uk/itm/AR-DRONE-NEW- ... 19cd12edfc" onclick="window.open(this.href);return false;

Hoping I can get a legit copy, when I get hold of my flying beastie! :)

Cheers,
Lance

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Thu Jan 26, 2012 5:47 pm
by CyberVillain
Wow, this is a big day for me, first time any software by me is pirated :-)

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Thu Jan 26, 2012 6:28 pm
by CyberVillain
Filed a report with ebay.. But still.. this is very funny.. :D

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Thu Jan 26, 2012 7:13 pm
by CyberVillain
Not so funny, this seller has been selling my property for a long time..I do not like that others are making money off my freetime projects :/

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Thu Jan 26, 2012 7:14 pm
by CyberVillain
bugsquish, I must thank you for these findings.. Its not ok to live of other peoples work :/

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Fri Jan 27, 2012 12:20 am
by WiredEarp
Not so funny, this seller has been selling my property for a long time..I do not like that others are making money off my freetime projects :/
Flattering, and good validation for your coding abilities, but I hate people who do stuff like this myself.

Probably the best thing you can do (besides filing a report, where it may be difficult to prove you are the actual author), you should list your own software yourself, for 1/2 the price he's listing it for, under the same/similar title. Throw in some quick 'improvements', and when you do, put some time decay stuff in there maybe. That way, when he rips off your new version, his users will end up suffering, and post bad feedback about him ;) Not to mention the fact that for 1/2 the price, you'll probably steal most of his buyers from him, and you might even make some cash! ;-)

I assume you have 'about' pages etc, I wonder if this guy has edited those to show himself as the author or what... might give you an idea of his ripping expertise if you knew that.

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Fri Jan 27, 2012 2:07 pm
by bugsquish
No problem, I'm glad I could help. Hope you manage to get it sorted out.

On a lighter note, I have ordered my drone! Should have it next week. So it's okay to get a copy of your software? I promise not to sell it on :) I'm going to be using my android phone to fly it mainly, but am really interested in experimenting with the laptop and longer ranges. Would I be able to use an xbox 360 controller with your setup? Any advice or tips are welcome!

Cheers,
Lance

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Fri Jan 27, 2012 5:01 pm
by CyberVillain
No problem, or you can buy it on ebay :P
If it comes up under game devices it should work in my software, it uses DirectX for input.. But in my experience a gamepad is a bit too lowend to fly accurately.. a joystick gives you better precision

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Fri Jan 27, 2012 8:58 pm
by cybereality
Hahaha! That eBay auction is Comedy Gold!!!!! LOL!

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Fri Jan 27, 2012 9:05 pm
by WiredEarp
@ CyberReality:
a joystick gives you better precision
Agreed. What joystick do you use? Because I'd like to hype my one, just because it just doesn't get enough love or attention online.

I have a Thrustmaster T16000M, and its easily the best joystick i've EVER owned. It has hall effect sensors rather than potentiometers, which gives MUCH greater accuracy and no drift. I've relegated my old Saiteks and Logitech to the spare PC's now. The best thing is, its a budget joystick, and it also supports left handers (whoever designed it is a genius, it comes with all these parts to swap it from right handed to left handed mode).

Only problem with it, is it just doesn't have enough buttons on the stick for easy use with games like BlackShark - but in terms of precision, its amazing. Previously in Bf2, I used to have to do a bit of moving the stick about to hold a particular hover. Now, I just hold the stick at the right point/angle and my heli sits there without almost any movement. I cannot recommend this joystick enough to modders, since even if you take it apart, the hall effect sensors and interface board etc alone are worth the price.

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Sat Jan 28, 2012 4:19 am
by Okta
CyberVillain wrote:Filed a report with ebay.. But still.. this is very funny.. :D
http://feedback.ebay.co.uk/ws/eBayISAPI ... world=true" onclick="window.open(this.href);return false;

Check the feedback he has sold a lot of those at $15 a piece. I would be fuming. Hopefully he gets funds frozen and booted.

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Sat Jan 28, 2012 4:27 am
by CyberVillain
Okta wrote:
CyberVillain wrote:Filed a report with ebay.. But still.. this is very funny.. :D
http://feedback.ebay.co.uk/ws/eBayISAPI ... world=true" onclick="window.open(this.href);return false;

Check the feedback he has sold a lot of those at $15 a piece. I would be fuming. Hopefully he gets funds frozen and booted.
I've reported him, but ebay have yet to get in touch with me..

Wired:
I have two joysticks, a Thrustmaster hotas which is REALLY nice, but heavy and not good for mobility, but i brig it when I have a car to take me were im going.. For mobility i have the Saitek FLY 5, its ok but nothing tlike The thrustmaster

Re: Parrot ARDrone (Augmented reality quadrocopter) on a PC

Posted: Sat Jan 28, 2012 3:12 pm
by WiredEarp
Nice, the HOTAS is a great stick. I'd love to buy the HOTAS Warthog, but its right hand only :cry: . The T16000M is the only ambidextrous capable joystick I know of that has their hall effect sensors.