Robotics StackExchange | Archived questions

How to get a map view of my bot using ROS?

Hi,

I have gps serial data now how can i use this data in ROS to get a map view of my robot.What packages are available for this.I am new to ROS.

Thanks

Asked by Ankur775 on 2016-06-27 08:16:39 UTC

Comments

What do you mean by "map view"?

Asked by Airuno2L on 2016-06-28 10:04:44 UTC

map view means like "google map"

Asked by Ankur775 on 2016-07-01 08:57:26 UTC

Answers

If what you are referring to is a satellite image representation of your current UTM position, there is a nice package that does this called mapviz which you can view here

EDIT: To publish the data as a rostopic, you will want to use a driver such as nmea_navsat_driver which you can get from here . By reading this wiki page you'll know everything about how the gps driver publishes your gps data through rostopics, what the topic names are, and the message type used to represent that data on the topic. The latitude/longitude information by default is usually published on the /fix topic as a sensor_msgs/NavSatFix message

Asked by l0g1x on 2016-06-28 21:42:40 UTC

Comments

Thank you Sir, May i know how to use that GPS serial data as a node or topic. I have serial data nmea messages from my GPS module, coming into a serial port. What should i do next? How will this package communicate with my serial port data? I am new to ROS, please help.

Asked by Ankur775 on 2016-07-01 08:56:26 UTC

I updated my post on how to turn the data from the gps into ros messages

Asked by l0g1x on 2016-07-08 19:00:43 UTC