Ruslan-B / AR.Drone

The AR.Drone 2.0 controlling library for C#/.NET and Mono, with video support.
GNU Lesser General Public License v3.0
67 stars 66 forks source link

FlightRecorder / GPS implementation ideas #7

Closed johnkattenhorn closed 11 years ago

johnkattenhorn commented 11 years ago

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

Ruslan-B commented 11 years ago

Well as you noticed there are no official support for the GPS based API, as the official SDK remains without changes starting from December of 2012. I can assume that it is somehow connected with the Director Mode, which available as a paid extra of FreeFlight application. As I don't have this hardware now but I can make an assumptions now. As for me it should be implemented on a system level - most-likely a GPS commands file being created via telnet or ftp directly on the AR.Drone file system. Thus we have only one feasible option now - it is reverse engineering of the new API/Protocol (and unfortunately it could be illegal). At least till the moment when the Parrot decide to ship new SDK which is includes GPS API.

Cheers, Ruslan.

johnkattenhorn commented 11 years ago

Hi,

I’ve got the flight recorder and the director mode addin and you’ve made a suggestion.

What I’ll do is ftp to the drone and see if I can copy it’s entire contents before setting up director mode and then again afterwards and look for differences.

This should give is a good starting point. I’ll also fire up wireshark and watch the comms between the ipad and the drone as I active the director mode.

All the best; I should be able to share something tomorrow evening.

Thanks

John

From: Ruslan Balanukhin [mailto:notifications@github.com] Sent: 26 September 2013 21:08 To: Ruslan-B/AR.Drone Cc: John Kattenhorn Subject: Re: [AR.Drone] FlightRecorder / GPS implementation ideas (#7)

Well, as you noticed there are no official support for the GPS based API, as the official SDK remains without changes starting from December of 2012. I can assume that it is somehow connected with the Director Mode, which available as an paid extra in the FreeFlight application. As I don't have this hardware now but I can make an assumptions now. As for me it should be implemented on a system level - most-likely a command file benign created via telnet or ftp directly on the AR.Drone file system directly. Thus we have only one option now - reverse engineering of the new API/Protocol. At least till the moment when the Parrot decide to ship new SDK.

Cheers, Ruslan.

— Reply to this email directly or view it on GitHubhttps://github.com/Ruslan-B/AR.Drone/issues/7#issuecomment-25199400.

Ruslan-B commented 11 years ago

Ok looking forward on update.