[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] ardrone2 success

From: Ben Laurie
Subject: Re: [Paparazzi-devel] ardrone2 success
Date: Sun, 17 Nov 2013 17:29:17 +0000

On 6 November 2013 21:02, Christophe De Wagter <address@hidden> wrote:
PS: An ardrone vision program exists (BrightSpotDetector) that will stream the image coordinates of the brightest spot in the down-looking camera via TCP to a paparazzi module comes quite close to what you want for the landing?

This has been done before but is not very user friendly yet. Work is on the way to improve that.

The idea is:

git clone ./paparazzi/sw/ext/ardrone2_vision
make (will also download submodule, and makes the gstreamer plugins with your custom code)
make drone (called from ardrone2_gstreamer folder: only needed 1 time: will put the framework on your drone)
put the on the drone, and start gstreamer using command as in sourcecode

(if first make fails at the end) make install (will install scratchbox2 and qemu if you didn't have them)
(if make is still not working) gedit ./ardrone2_gstreamer/Makefile edit the path to your ardrone crosscompiler and make install again to setup sb2

I'm trying this. I had to edit the path from the crosscompiler. When I run make install, I get...

sb2-init -c qemu-arm armv7 /usr/bin/arm-linux-gnueabi-gcc
Info: Mapping mode not specified, using default (simple)
Using /usr/bin/arm-linux-gnueabi-gcc to detect target architecture:
Finished writing sb2.gcc.config
gcc configured.
sb2-init: Target architecture is 'arm'
sb2-init: Host architecture is 'x86_64'
Finished writing sb2.config
sb2-init: Creating Debian build system settings for this target:
sb2-init: configuring libtool for this target:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

Running /usr/bin/sb2-build-libtool failed
You can run this manually later, otherwise your
sb2 environment is correctly setup and ready to use
make[1]: Leaving directory `/home/ben/git-work/paparazzi/sw/ext/ardrone2_vision/ardrone2_gstreamer'



On Tue, Nov 5, 2013 at 3:43 PM, Ben Laurie <address@hidden> wrote:
On 5 November 2013 14:32, Freek van Tienen <address@hidden> wrote:
> Nice! Good to hear!
> I'm currently working on the sonar for the ardrone2:
> I've tested it for heights under 4m, but couldn't test it outside yet
> because of the weather. But it should work, and estimates the height under
> 4m much better. Then we can even make it land on sonar height.

Cool. I'll give it a try when I next get a chance.

I think I read somewhere that the ardrone2 has a DSP - have you looked
into using that yet?

Because I've been flying mine from my fields, I've had to use a
platform to launch it from (the grass is too long to do it from the
ground). As it happens, the platform I'm using is a bright yellow
stool. I was wondering if it would be possible to use the camera to
land on it :-) (Just idle speculation really).

On a related note, is it possible to record the video during a
paparazzi flight? And/or view it live?

> 2013/11/5 Ben Laurie <address@hidden>
>> Finally got a chance to test the fixed GPS. Despite quite high winds
>> (forecast says 40 km/h) it all went well, and even landed correctly.
>> Interestingly, the USB stick u-blox GPS, which was horribly inaccurate
>> out-of-the-box, worked perfectly once ucenter was able to correctly
>> configure it.
>> _______________________________________________
>> Paparazzi-devel mailing list
>> address@hidden
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden

Paparazzi-devel mailing list

Paparazzi-devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]