possibility of gps guidance

Mirumod, Macgyver, hull, cam, propeller, leg, cross, ball bearing mods... etc.
Post Reply
jayf
Newcomer
Posts: 1
Joined: 01 Sep 2010, 09:29
Has thanked: 0
Been thanked: 0

possibility of gps guidance

Post by jayf » 01 Sep 2010, 09:33

is there a possibility of fitting with gps so it could follow a route around a building for example, that would make this so cool, also would it be hard to fit with 3g wireless internet and control it that way??

User avatar
slider
Ready for take off
Posts: 45
Joined: 25 Aug 2010, 14:06
Location: North Devon
Has thanked: 0
Been thanked: 0

Re: possibility of gps guidance

Post by slider » 01 Sep 2010, 17:41

Well given that despite what we hear, GPS is only good to about 10 feet (it may say it's closer - but what will the next one say) and that that would degrade indoors if that's what you mean by around a building, I'd say it was a no go.

Far better to use some of the power of the software on board with the built in camera for object recognition after all that's how the AR games will work.

Symon
Site Admin
Posts: 443
Joined: 18 Aug 2010, 21:45
Drone Type: Jumping Sumo
Location: Southampton, UK
Has thanked: 0
Been thanked: 0

Re: possibility of gps guidance

Post by Symon » 02 Sep 2010, 00:25

There are rumors of additional hardware in the future. Presently if your a dab hand with PIC programming then you can already do this using an Arduino.

smokeyb111
Battery Charged
Posts: 6
Joined: 05 Sep 2010, 19:21
Has thanked: 0
Been thanked: 0

Re: possibility of gps guidance

Post by smokeyb111 » 07 Sep 2010, 02:36

jayf wrote:is there a possibility of fitting with gps so it could follow a route around a building for example, that would make this so cool, also would it be hard to fit with 3g wireless internet and control it that way??

I've been hard at work trying to figure out if using a 3G modem would be possible.

Someone at parrot told me they are in the process of using GPS modules and other upgrades of some sort via the USB port. But then they told me the embedded linux is only accessible during the update process. I have found someone that has "poked around inside the linux" so I'd imagine it's just a matter of routing the traffic to a soldered on 3G USB dongle.

That's how I envision it anyway. I'm still looking around to see if it's possible. I have no coding experience, but this is the project that would get me to learn.

MAPGPS
Strange wobble
Posts: 201
Joined: 26 Oct 2010, 03:03
Has thanked: 0
Been thanked: 0

Re: possibility of gps guidance

Post by MAPGPS » 03 Nov 2010, 14:34

I have attached a GPS onto my AR.Drone via the serial port (Pin 4 & 6 on the bottom of AR.Drone), and received GPS NMEA data from /dev/ttyPA0.

Testing environment:
IMG_1756.JPG
GPS module C3-370C (TTL serial):
IMG_1759.JPG
12V/5V convertor disassembled from a car charger:
IMG_1761.JPG
You do not have the required permissions to view the files attached to this post.

MAPGPS
Strange wobble
Posts: 201
Joined: 26 Oct 2010, 03:03
Has thanked: 0
Been thanked: 0

Re: possibility of gps guidance

Post by MAPGPS » 03 Nov 2010, 14:39

The GPS consumes 48.5mA:
IMG_1760.JPG
cat /dev/ttyPA0:
IMG_1764.JPG
You do not have the required permissions to view the files attached to this post.
Last edited by MAPGPS on 19 Feb 2011, 06:28, edited 1 time in total.

g00bd0g
Ready for take off
Posts: 16
Joined: 21 Oct 2010, 03:48
Has thanked: 0
Been thanked: 0

Re: possibility of gps guidance

Post by g00bd0g » 04 Nov 2010, 07:48

Very exciting, please keep us posted. Maybe you can partner with one of the App developers to give us access to that GPS data.

MAPGPS
Strange wobble
Posts: 201
Joined: 26 Oct 2010, 03:03
Has thanked: 0
Been thanked: 0

Re: possibility of gps guidance

Post by MAPGPS » 05 Nov 2010, 12:23

g00bd0g wrote:Very exciting, please keep us posted. Maybe you can partner with one of the App developers to give us access to that GPS data.
A simple Proxy app can be wrote to run on AR.Drone to redirect the GPS NMEA data from /dev/ttyPA0 to a UDP port (e.g.: 6666), so app on your iPhone or PC can receive NMEA from UDP port 6666, just like the current AR.Drone's NavData on UDP port 5554. And do what you want.

An on-drone GPS app can also do autonomous flight!

MAPGPS
Strange wobble
Posts: 201
Joined: 26 Oct 2010, 03:03
Has thanked: 0
Been thanked: 0

Re: possibility of gps guidance

Post by MAPGPS » 05 Nov 2010, 13:10

AR.Drone autonomous flight:
PID with GPS position data (X,Y,Z) and moving commands (AT*PCMD) to local UDP port 6666.
For Z, if within the range of ultrasonic altitude detector (<6m), then use AR.Drone's altitude from the NavData.

User avatar
rogueqd
Up and hovering
Posts: 121
Joined: 25 Oct 2010, 15:28
Location: Sydney, Australia
Has thanked: 0
Been thanked: 0

Re: possibility of gps guidance

Post by rogueqd » 05 Nov 2010, 13:43

That would be quite handy even for something as simple as remembering it's take off location and returning there if the connection with the iPhone is lost. Plotting waypoints on google earth and even playing real life RTS games with armies of drones would be super awesome.
Last edited by rogueqd on 05 Nov 2010, 17:58, edited 1 time in total.

MAPGPS
Strange wobble
Posts: 201
Joined: 26 Oct 2010, 03:03
Has thanked: 0
Been thanked: 0

Re: possibility of gps guidance

Post by MAPGPS » 05 Nov 2010, 13:59

RogueQD wrote:That would be super handy even for something as simple as remembering it's take off location and returning there is the connection with the iPhone is lost. Plotting waypoints on google earth and even playing real life RTS games with armies of drones would be super awesome.
That is "Auto-return" PK the hot "Fly-away"!
One of my goal is to fly AR.Drone on Google Earth.

User avatar
urgno
Newcomer
Posts: 2
Joined: 05 Oct 2010, 19:11
Has thanked: 0
Been thanked: 0

Re: possibility of gps guidance

Post by urgno » 05 Nov 2010, 17:53

very very interesting
maybe to lower the weight is possible to use just a 7805 to lower the voltage from 12V to 5V
should be enough for just 50mA of current drain

Image

Image

Symon
Site Admin
Posts: 443
Joined: 18 Aug 2010, 21:45
Drone Type: Jumping Sumo
Location: Southampton, UK
Has thanked: 0
Been thanked: 0

Re: possibility of gps guidance

Post by Symon » 05 Nov 2010, 18:34

Could you not use the charging connector and use 3.7v direct from a cell of the AR Drone.
I'm using the 7.4v over two cells for powering an Ardunio, Wifi Shield and GPS Shield and that seems fine so far for me.

sanktnelson
Newcomer
Posts: 1
Joined: 08 Nov 2010, 19:05
Has thanked: 0
Been thanked: 0

Re: possibility of gps guidance

Post by sanktnelson » 08 Nov 2010, 19:12

That's a really cool hack actually. Now that we have a cheap and direct way to attach GPS, do you know if we can actually execute code on the builtin linux? Firmware is uploaded via ftp, maybe we can just upload a script or executable and use it? Does the drone accept control connections via loopback?

Nevermind, I'll go and try to answer some of those myself and report back.

MAPGPS
Strange wobble
Posts: 201
Joined: 26 Oct 2010, 03:03
Has thanked: 0
Been thanked: 0

Re: possibility of gps guidance

Post by MAPGPS » 09 Nov 2010, 01:47

sanktnelson wrote:That's a really cool hack actually. Now that we have a cheap and direct way to attach GPS, do you know if we can actually execute code on the builtin linux? Firmware is uploaded via ftp, maybe we can just upload a script or executable and use it? Does the drone accept control connections via loopback?

Nevermind, I'll go and try to answer some of those myself and report back.
All are "Yes" for your questions.
You can do what you want on AR.Drone, since it is Linux based with open kernel source.

Note, the executables from other devices with ARM9 CPU can also run on AR.Drone.

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests