ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How to use Gpsd_viewer package

asked 2011-03-15 14:53:51 -0500

avin111 gravatar image

Hi, I came across this package and found it really interesting.however when I tried to use this package using my gps device it is still not changing the map.I am using the same message description as in the package i.e GpSfix and Gpsstatus.It is giving a static longitude and latitude and is showing the same map.I dont think it is subscribing to the fix message.Could you please help me use this package?Thanking you

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2011-03-22 00:25:42 -0500

Jurica gravatar image

Well if u want to use gpsd_viewer u must have record yours bag file,and if u want to see yours map instead od ccny koordinates u must change them in code( line 126: OsmGpsMapPoint ccny_coord = { 40.818551, -73.948674 }; (OsmGpsMapPoint yours_coordinates ={your_latitude, your_longitude};) - u must enter yours coordinates, that works fine for me In gpsd_viwer/demo u have demo.launch file so look it and then create yours examlpe.launch file with yours coordinates and execute command : $ roslaunch gpsd_viewer example.launch It is best that you keep example.bag file in gpsd_viewer/demo. I hope this helps you.

edit flag offensive delete link more

answered 2012-01-01 01:53:21 -0500

Does gpsd_viewer supports multiple objects in the map?

edit flag offensive delete link more

Question Tools


Asked: 2011-03-15 14:53:51 -0500

Seen: 558 times

Last updated: Jan 01 '12