Map not show - osm_cartography

534 views
Skip to first unread message

Gonzalo Tejera

unread,
Apr 4, 2014, 11:10:12 AM4/4/14
to utexas-art-r...@googlegroups.com
Hi. I am using osm_cartography to show on rviz a map. 
Steps follows:
1-install osm_cartography package.
2-download a map using the export service in http://www.openstreetmap.org/
3-run roscore
3-run osm_cartography osserver
4-run  osm_cartography viz_osm _map_url:=file://~/map.osm
5-run rviz
6-in rviz add topic visualization_marker_array

But no map is show, rviz only show the grid.

Sure something is missing, any idea?

Regards, Gonzalo

PD: Display panel include a warning message "Global Status: Warn. Fixed Frame No tf data. Actual error: Fixed Frame [map] does not exist"

Jack O'Quin

unread,
Apr 4, 2014, 11:44:08 AM4/4/14
to utexas-art-ros-pkg-users
On Fri, Apr 4, 2014 at 10:10 AM, Gonzalo Tejera <gonzal...@gmail.com> wrote:
Hi. I am using osm_cartography to show on rviz a map. 
Steps follows:
1-install osm_cartography package.
2-download a map using the export service in http://www.openstreetmap.org/
3-run roscore
3-run osm_cartography osserver
4-run  osm_cartography viz_osm _map_url:=file://~/map.osm

I am not sure a '~' in the URL will be expanded correctly. You might try replacing it with your actual home directory path.
 
5-run rviz
6-in rviz add topic visualization_marker_array

But no map is show, rviz only show the grid.

Sure something is missing, any idea?

Regards, Gonzalo

PD: Display panel include a warning message "Global Status: Warn. Fixed Frame No tf data. Actual error: Fixed Frame [map] does not exist"

What fixed frame is selected? 

The current version of these packages has moved to github:


Please use that version, report any issues there, and ask questions on answers.ros.org.

Thanks,
--
 joq

Gonzalo Tejera

unread,
Apr 4, 2014, 12:06:52 PM4/4/14
to utexas-art-r...@googlegroups.com
I am not sure a '~' in the URL will be expanded correctly. You might try replacing it with your actual home directory path.

yes, really i am using /home/gtejera insted ~
 
What fixed frame is selected? 

i just run the steps 1 to 6, none frame is select. I'm trying to display only the map.
i install the package using apt-get 

Please use that version, report any issues there, and ask questions on answers.ros.org.

Ok
 

Thanks,
--
 joq

Jack O'Quin

unread,
Apr 4, 2014, 6:56:44 PM4/4/14
to utexas-art-ros-pkg-users
On Fri, Apr 4, 2014 at 11:06 AM, Gonzalo Tejera <gonzal...@gmail.com> wrote:

What fixed frame is selected? 

i just run the steps 1 to 6, none frame is select. I'm trying to display only the map.

It's been a while since I've used this package. Maybe you need to set the rviz fixed frame to something like /map or /map_local. I can't remember exactly. 
 
i install the package using apt-get 

That is from the correct source, then.
 -- 
 joq

Augusto Luis Ballardini

unread,
Oct 13, 2014, 4:39:20 AM10/13/14
to utexas-art-r...@googlegroups.com
Since I did not find any answer on answers.ros.org or here, and since I had a similar issue, I want to add here a very basic consideration. If you try to open the launch file inside the osm_cartography folder, you'll find a static transform:  <node pkg="tf" type="static_transform_publisher" name="local_map_tf" args="622150 3362350 0 0 0 0 1 map local_map 100" />

this is the transform to the UTM reference frame for the downloaded openstreetmap. If you try do download your own map, you need to create a new transform with the coordinates of your area. For the lat/lon to UTM conversion, you can use this link http://www.rcn.montana.edu/resources/converter.aspx

I think this should be included in the readme of the project :-)

Augusto

Jack O'Quin

unread,
Oct 15, 2014, 12:46:12 PM10/15/14
to utexas-art-ros-pkg-users

--
You received this message because you are subscribed to the Google Groups "utexas-art-ros-pkg-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to utexas-art-ros-pkg...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Thanks for the report.

So it does not end up getting lost, would you please open a github issue for this?


--
 joq
Reply all
Reply to author
Forward
0 new messages