Coder Social home page Coder Social logo

ar.drone's People

Contributors

janmagnet avatar ruslan-b avatar sibartlett avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ar.drone's Issues

HD Video Stream

Can you say some information about the HD video stream, please?

I can't even find the solution to have HD video stream with this SDK.
I tried some things.. But nothing happened with different Bitrates (and h264 auto resize codec type) or with different CodecTypes.

No Specific Way to Stop Hovering?

I cannot find a way to stop hovering the drone. You can Hover() after takeoff, but there is no equivalent for stopping (other than sending a blank move command).

Probem with ffmpeg

Hello!

I'm not sure if you're still supporting this but I seem to have hit an issue that I can't get round, I may be being a bit dim here as I haven't done much work with perl/gcc on windows.

On Windows 8.1 64 bit.

I installed python 2.7
I installed MinGW
I downloaded the SDK and placed the ffmpeg.autogen folder in the correct place so the solution all builds fine in VS express 2012.
I also made the changes to generate.py suggested in the latest issue to be closed that were suggested for building on windows!

Simply running generate.py - after this initial bit I get a huge number of errors.

Any pointers would be greatly appreciated

Status: Preprocessing c:\users\marc\appdata\local\temp\tmpt18nvg.h
Status: gcc -v -E -U GNUC -dD -I./FFmpeg/include "-Dinline=" "-D__inline__=" "-D__extension__=" "-D__const=const" "-D__asm__(x)=" "-D__asm(x)=" "-DCTYPESGEN=1" "c:\users\marc\appdata\local\temp\tmpt18nvg.h"
Error: gcc -v -E: Using built-in specs.
Error: gcc -v -E: COLLECT_GCC=gcc
Error: gcc -v -E: Target: mingw32
Error: gcc -v -E: Configured with: ../gcc-4.8.1/configure --prefix=/mingw --host=mingw32 --build=mingw32 --without-pic --enable-shared --enable-static --with-gnu-ld --enable-lto --enable-libssp --disable-multilib --enable-languages=c,c++,fortran,objc,obj-c++,ada --disable-sjlj-exceptions --with-dwarf2 --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --with-gmp=/usr/src/pkg/gmp-5.1.2-1-mingw32-src/bld --with-mpc=/usr/src/pkg/mpc-1.0.1-1-mingw32-src/bld --with-mpfr= --with-system-zlib --with-gnu-as --enable-decimal-float=yes --enable-libgomp --enable-threads --with-libiconv-prefix=/mingw32 --with-libintl-prefix=/mingw --disable-bootstrap LDFLAGS=-s CFLAGS=-D_USE_32BIT_TIME_T
Error: gcc -v -E: Thread model: win32
Error: gcc -v -E: gcc version 4.8.1 (GCC)
Error: gcc -v -E: COLLECT_GCC_OPTIONS='-v' '-E' '-U' 'GNUC' '-dD' '-I' './FFmpeg/include' '-D' 'inline=' '-D' 'inline=' '-D' 'extension=' '-D' 'const=const' '-D' '__asm(x)=' '-D' 'asm(x)=' '-D' 'CTYPESGEN=1' '-mtune=generic' '-march=pentiumpro'
Error: gcc -v -E: c:/mingw/bin/../libexec/gcc/mingw32/4.8.1/cc1.exe -E -quiet -v -I ./FFmpeg/include -iprefix c:\mingw\bin../lib/gcc/mingw32/4.8.1/ -U __GNUC
-D inline= -D inline= -D extension= -D const=const -D __asm(x)= -D __asm(x)= -D CTYPESGEN=1 c:\users\marc\appdata\local\temp\tmpt18nvg.h -mtune=generic -march=pentiumpro -dD
Error: gcc -v -E: ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.8.1/include"
Error: gcc -v -E: ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.8.1/../../../../include"
Error: gcc -v -E: ignoring duplicate directory "/mingw/include"
Error: gcc -v -E: ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.8.1/include-fixed"
Error: gcc -v -E: ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.8.1/../../../../mingw32/include"
Error: gcc -v -E: ignoring duplicate directory "/mingw/include"
Error: gcc -v -E: #include "..." search starts here:
Error: gcc -v -E: #include <...> search starts here:
Error: gcc -v -E: ./FFmpeg/include
Error: gcc -v -E: c:\mingw\bin../lib/gcc/mingw32/4.8.1/include
Error: gcc -v -E: c:\mingw\bin../lib/gcc/mingw32/4.8.1/../../../../include
Error: gcc -v -E: c:\mingw\bin../lib/gcc/mingw32/4.8.1/include-fixed
Error: gcc -v -E: c:\mingw\bin../lib/gcc/mingw32/4.8.1/../../../../mingw32/include
Error: gcc -v -E: End of search list.
Error: gcc -v -E: In file included from c:\mingw\include\errno.h:27:0,
Error: gcc -v -E: from C:\Users\marc\Downloads\AR.Drone-master\AR.Drone-master\FFmpeg.AutoGen\FFmpeg\include\libavcodec\avcodec.h:30,
Error: gcc -v -E: from c:\users\marc\appdata\local\temp\tmpt18nvg.h:1:
Error: gcc -v -E: c:\mingw\include_mingw.h:51:2: error: #error ERROR: You must use a GNU Compiler.
Error: gcc -v -E: #error ERROR: You must use a GNU Compiler.
Error: gcc -v -E: ^
Error: gcc -v -E: In file included from c:\mingw\include\errno.h:27:0,
Error: gcc -v -E: from C:\Users\marc\Downloads\AR.Drone-master\AR.Drone-master\FFmpeg.AutoGen\FFmpeg\include\libavcodec\avcodec.h:30,
Error: gcc -v -E: from c:\users\marc\appdata\local\temp\tmpt18nvg.h:1:
Error: gcc -v -E: c:\mingw\include_mingw.h:55:2: error: #error ERROR: You must use a GNU Compiler version >= 3.4.5.
Error: gcc -v -E: #error ERROR: You must use a GNU Compiler version >= 3.4.5.
Error: gcc -v -E: ^
Status: Parsing c:\users\marc\appdata\local\temp\tmpt18nvg.h
Error: c:\mingw\include\errno.h:107: Syntax error at '('
Error: c:\mingw\include\errno.h:107: Syntax error at ';'
Error: c:\mingw\include\inttypes.h:299: Syntax error at '('
Error: c:\mingw\include\inttypes.h:299: Syntax error at ';'
Error: c:\mingw\include\inttypes.h:304: Syntax error at '('
Error: c:\mingw\include\inttypes.h:304: Syntax error at ';'
Error: c:\mingw\include\inttypes.h:308: Syntax error at '('
Error: c:\mingw\include\inttypes.h:308: Syntax error at 'nptr'
Error: c:\mingw\include\inttypes.h:309: Syntax error at 'endptr'

Multiple Ar Drones

Hello. I cant get navigationdata nor video stream from 2 ar drones.

Do you know how to do it?

I tried Like this:

          //Novo Cliente
        _droneClient = new DroneClient("192.168.1." + ip1);
        _droneClient.NavigationPacketAcquired += OnNavigationPacketAcquired;
        _droneClient.VideoPacketAcquired += OnVideoPacketAcquired;
        _droneClient.NavigationDataAcquired += data => _navigationData = data;


        //Novo Cliente
        _droneClient2 = new DroneClient("192.168.1." + ip2);
        _droneClient2.NavigationPacketAcquired += OnNavigationPacketAcquired2;
        _droneClient2.VideoPacketAcquired += OnVideoPacketAcquired2;
        _droneClient2.NavigationDataAcquired += data2 => _navigationData2 = data2;`

FlightRecorder / GPS implementation ideas

I'm really keen on contributing the GPS implementation capability to the SDK, and anyone else had any thoughts on the best way for us to achieve this ?

I've put out a couple of posts regarding this on the official SDK forum and I'm aware and havce tested the MAVLink with qGroundControl with various degree of success.

Given that the SDK does'nt have any examples what would be the best approach to try to figure out the API ? I thought about snooping the UDP whilst it was in use to see if that helped.

Any thoughts or ideas ?

Thanks

John

Sending config does not APPLY the new config

When I modify btnSendConfig_Click to change the settings I want changed, they do not seem to actually apply on the drone. No exception is shown.

I would expect the drone to receive the new configuration options and actually apply them, but after I apply, I read the config again, and the old settings still exist.

VS 2010 Service Pack 1 dependency

Hello,

Not an issue but a brief comment: README shouldn't it indicate Visual Studio 2010 Service Pack 1 dependency to launch VS 2012 solution in Visual Studio 2010 ?

Try to launch solution for an hour before realize I needed Microsoft SP1 to launch it :)

License

Any chance of a dual license on this? It would be useful to have a license under the Lesser GPL too.

Issues with video feed

Hi,

I have managed to get the code working with my AR Drone, controls and data streams work fine, however I am having issues with receiving video data from the drone; the pictureBox stays grey. My thought is that this could be partly due to FFMPEG libraries. How exactly should I be compiling the FFMPEG solution to work with the program?

Thanks.

Multiple Ar Drones

Hello again Ruslan.

I managed to make both work but the only problem is that I can only send commands one at the time.

I have to _droneClient.Stop() in order to send commands to _droneClient2 and vise-versa. Isnt there any way u can help me solve this? U created this code, must be really easy for you. :(

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.