Author Topic: GPS with Maps  (Read 2389 times)

0 Members and 1 Guest are viewing this topic.

Offline airman00Topic starter

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
GPS with Maps
« on: April 25, 2009, 02:04:39 PM »
Hi everyone,
Was thinking about GPS for robotics today and a google search wasn't able to answer some of my questions.

I don't have any experience with GPS regarding robotics and it seems to me that the GPS sensor that everyone uses (the Parallax GPS Sensor) just gives coordinates. Is there any way to combine street maps with the GPS sensor so that you could figure out a driving route, but all the while keeping it in the realm of microcontrollers - no laptop interface ?

If you can't save a map overlay onto a microcontroller and do the processing onboard the microcontroller, can you perhaps use a commercial GPS model(that has the street maps loaded onto it) and then communicate with the GPS device using serial from a microcontroller, telling the GPS the address of a destination and receiving from the GPS how much further it is to the destination, what action to do next , take a left, take a right,etc.)
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline hgordon

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 373
  • Helpful? 7
    • Surveyor Robotics Journal
Re: GPS with Maps
« Reply #1 on: April 26, 2009, 08:55:48 AM »
The standard approach is to convert GPS coordinates into KML and display them directly in a Google Maps viewer.

Take a look over on diydrones.com - there is a ground station using LabView that is open source as part of the ArduPilot project - this might give you some ideas.

Update:  here's a link which includes a description of the ground station.  it's intended for airplanes, but could easily modified for ground operation -
    http://diydrones.com/profiles/blogs/ardupilot-21-released-setup
« Last Edit: April 26, 2009, 08:57:41 AM by hgordon »
Surveyor Corporation
  www.surveyor.com

Offline airman00Topic starter

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: GPS with Maps
« Reply #2 on: July 04, 2009, 02:55:23 PM »
**Reviving Topic**

I'm back to working on putting GPS maps on a microcontroller. Basically building my own GPS device for use in one of my projects.
I know how to get coordinates but I need to store the maps on the microcontroller. Meaning the microcontroller is handling everything and it calculates which turns to make, when to make them, etc. I'd like to start with a microcontroller reading its current position through a GPS module and then calculating route to a preprogrammed destination. Maps would of course be preprogrammed as well. How can I run routing software on a microcontroller? Is there any way to port a GPS mapping software from a cell phone or palm pilot onto a different microcontroller?

Update:  here's a link which includes a description of the ground station.  it's intended for airplanes, but could easily modified for ground operation -
    http://diydrones.com/profiles/blogs/ardupilot-21-released-setup
Thats for running on  a computer, I want the microcontroller to do all the mapping.
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
    • Webbot stuff
Re: GPS with Maps
« Reply #3 on: July 05, 2009, 08:14:16 PM »
People like Garmin produce maps that fit onto microSD cards for use by handheld GPS devices.

So first you need to link microprocessor to microSD card - easy enough using an SPI interface (I've just done it myself and it will be in next release of my C library).

Then you need to know the format of the map data on the microSD card - this may be proprietary (ie a problem) or in a standard hard driver format like FAT-16 or FAT-32 etc.

Elektor magazine did an article on using a GPS module (similar to the Parallax one) linked up to a PC to download POIs (points-of-interest  in this case the location of speed trap cameras) - it then operated stand alone to give a warning of traps ahead. Check their site - they may give software downloads that could be useful.

Route planning:- so if you manage to figure out the format of the map data then you still need a 'best route;' algorithm ie 'no motorways vs no toll routes vs main roads only'. Sort of critical path analysis.

So you may be able to get the code in a ATMega640 but will still need something like a 2gb micro sd card to hold the read only map data

Interesting project - keep us informed
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline jamort

  • Supreme Robot
  • *****
  • Posts: 375
  • Helpful? 2
Re: GPS with Maps
« Reply #4 on: July 06, 2009, 02:24:40 AM »
Also heres a cool thing that sends gps feedback via cell phone you could probably mod it in someway to hook into a computer and the computer share mapping information with the micrcontroller...
http://www.opengpstracker.org/build.html just an idea
my english teacher once said, "dont talk about what you dont know in public...."

so I replied the truth, " Exactly why I dont ever talk about English."

 


data_list