ARDrone control in C++ cross platform no SDK needed

Added by Pongsak Suvanpong 986 days ago

Dear All

I've finally got my C++ code to control the drone working.

Screen_shot_2011-08-12_at_7.06.28_PM.png - screen shot (192.6 KB)


Replies

RE: ARDrone control in C++ cross platform no SDK needed - Added by Pongsak Suvanpong 986 days ago

sorry the code is attached with this post

ARDrone.h (6.6 KB)

ARDrone.cpp (54.3 KB)

RE: ARDrone control in C++ cross platform no SDK needed - Added by Pongsak Suvanpong 986 days ago

forgot another thing, code uses commonC++, can be downloaded from here http://www.hyperrealm.com/main.php?s=commoncpp

psksvp

RE: ARDrone control in C++ cross platform no SDK needed - Added by Aiden Wong 980 days ago

Hi PSKSVP,
I am interesting in your post.
Has you come up with different problems when using commonC++?
I think it won't work to develop except for SDK.
thz,
MoMo

RE: ARDrone control in C++ cross platform no SDK needed - Added by Waqar Shahid Qureshi 980 days ago

hi,
yo said it is based on javadrone,

so do i need that first, and then make?

regards
waqar shahid

RE: ARDrone control in C++ cross platform no SDK needed - Added by Jeremy Rand 952 days ago

When I try to pass your cpp file to g++, it complains about a missing file "../Common/MemoryLibrary.h" . Is this file supposed to be copied from somewhere in commonc++? Or is it floating somewhere else on the Internet?

Any help on finding that file would be greatly appreciated.

Thanks.

RE: ARDrone control in C++ cross platform no SDK needed - Added by Pongsak Suvanpong 950 days ago

Hi all

sorry for late reply, the needed MemoryLibrary.h file is attached with this post.

psksvp

MemoryLibrary.h (9.5 KB)

RE: ARDrone control in C++ cross platform no SDK needed - Added by Open UAS 135 days ago

For real control, and really realy without SDK, take a look herehttp://paparazzi.enac.fr/wiki/AR_Drone_2/getting_started

RE: ARDrone control in C++ cross platform no SDK needed - Added by cyrile talla 132 days ago

Hello PSKSVP,
please can you tell me how compiling and configuring commonc++ on visual basic 2010 expess?

best regards
Cyrile

RE: ARDrone control in C++ cross platform no SDK needed - Added by G Z 119 days ago

Hi Everybody,

I'm trying to compile the api on a Mac OSX Maverics.
The api are really great and really simple, I'd like to use them on iPhone instead of the official sdk which is really hard to include and there is really poor documentation..

Anyways..
Compiling for Mac, I have these problems

../src/ARDrone.h:27:13: error: cannot define or redeclare 'DatagramSocket' here because namespace 'ARDrone' does not enclose namespace 'ccxx'
../src/ARDrone.h:28:13: error: cannot define or redeclare 'Mutex' here because namespace 'ARDrone' does not enclose namespace 'ccxx'
../src/ARDrone.h:29:13: error: cannot define or redeclare 'Thread' here because namespace 'ARDrone' does not enclose namespace 'ccxx'

http://pastebin.com/3mNxUgQK

I'd like to port these file on standard c++ whiteout lib common, so they will be come compilable on ARM.. (iOS).
Any ideas??

Thank you
Regards

RE: ARDrone control in C++ cross platform no SDK needed - Added by B E 59 days ago

Move

class ccxx::DatagramSocket;
class ccxx::Mutex;
class ccxx::Thread;

before

namespace ARDrone {

and it compiles

Remove lines ending with /* to suppress some warnings

RE: ARDrone control in C++ cross platform no SDK needed - Added by polo polo 50 days ago

Gucci Outlet Online, http://www.guccishoesfactories.net/
Ralph Lauren UK, http://www.ralphwlaurenpolo.com/
Polo Ralph Lauren, http://www.ralphlaurenuker.com/
Polo Outlet Store Online, http://www.polo-outletstore.com/
Canada Goose Jackets, http://www.canadagooser.com/
Monster Beats Outlet, http://www.discountbeatsbydresale.com/
North Face Outlet Online, http://www.northsclearance.com/
Michael Kors Outlet Online, http://www.michaelkors.so/
Burberry Bags Outlet, http://www.burbagssale2013.com/
Longchamp Sacs Sortie, http://www.saclongchamppairs.com/
Hollister Abercrombie Outlet, http://www.cheaphollistersale.co.uk/
Michael Kors Outlet, http://www.michaelkorstates.com/
North Face Outlet Online, http://www.north-faceoutletonlines.net/
Marc Jacobs Bags Outlet, http://www.marcjacobsonsale.com/
Coach Factory Outlet, http://www.coach-factoryy.com/
Coach Purses On Sale, http://www.coachxpursesonsale.com/
Coach Outlet, http://www.coach-outletusa.com/