Theoretically, can I establish the path of navigation using data from google maps?

asked 2019-10-24 08:31:10 -0600

Viktor gravatar image

Hello all! I'm new to using TURTLEBOT3 and ROS , I am currently a student and am engaged in a project for the last year of study I am interested in whether there is an opportunity to establish the direction path for the robot using the data obtained from google maps ?

For example :

I am at point A and paving the way to point B using Google maps, is it possible to take the data of the constructed path and start the robot in this direction? (GPS data should not be only from google maps, maybe there is another application that can be used for this, I'm interested in all options)

edit retag flag offensive close merge delete

Comments

It sounds like a task every big car manufacturing is trying to achieve, give a destination and car/robot will drive itself there, more commonly known as autonomous-driving. Is it possible, yes, but a bit too complex to put it in single question.

Choco93 gravatar imageChoco93 ( 2019-10-25 08:04:53 -0600 )edit

Okay, thanks, at this point I wanted to know if using turtlebot is suitable for me in my project. Thanks for you answer!

Viktor gravatar imageViktor ( 2019-10-27 02:47:45 -0600 )edit

I can highly recommend having a look at openstreetmap. It is basically the open source google maps https://www.openstreetmap.org . There are many tools for OSM, such as java editors (JOSM) that allow you to edit the map. You can host a database with a smaller map locally. You can query your local database using python (I did this for my Thesis). The roads can have tags attached to them that give you additional information (besides a list of GPS coordinates). I really think this could fit what you want to do really well.

MCornelis gravatar imageMCornelis ( 2019-10-28 03:31:49 -0600 )edit

One of the ways to interact with your OSM map/database, is the overpass query language. You can easily use this with python following this tutorial https://python-overpy.readthedocs.io/... (so just import overpy in your python node and you are good to go!). Setting up your database will require some googling and some attempts, but you will be able to figure it out.

MCornelis gravatar imageMCornelis ( 2019-10-28 03:37:46 -0600 )edit

Yes, it's doable, but turtlebot is designed for indoor usage, and it should work good indoors for mapping and navigation.

Choco93 gravatar imageChoco93 ( 2019-10-28 04:16:56 -0600 )edit

I actually created a semantic map using OSM to be used inside a building before. GMapping and hectormapping are very nice, but to handle highly dynamic environments don't shy away from more high level maps and topology! Even better, you can combine all maps into a multilayered map where your topological or semantic map sits on top of the lower level grid-based map. Trying to stick to AMCL in highly dynamic environments may cause your estimated pose to jump all over the place. Sometimes knowing you are driving through a hallway in a certain direction is enough information :). Don't underestimate the mapping effort of creating a semantic map though (labeling every wall and door can be a hassle, especially if you also tag colour and other information in there).

MCornelis gravatar imageMCornelis ( 2019-10-28 04:33:01 -0600 )edit