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

Error with osm_cartography on ROS indigo

asked 2015-10-07 11:38:48 -0500

Fenix gravatar image

updated 2015-10-08 07:29:30 -0500

joq gravatar image

I install osm_carography using "git clone" since my work space, and when i execute the example (viz_osm.launch) ,show me the next error:

Traceback (most recent call last): File "/home/andres/ros_ws/open_street_map/osm_cartography/scripts/viz_osm", line 65, in <module> import osm_cartography.cfg.VizOSMConfig as Config ImportError: No module named osm_cartography.cfg.VizOSMConfig

Please can somebody help with an error?

Regards.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-10-08 07:28:42 -0500

joq gravatar image

updated 2015-10-09 10:15:13 -0500

Some things to check:

  • Did you build your workspace after cloning the source?

  • Did you source devel/setup.bash from the workspace after building it?

UPDATE: this is a catkin package, you don't build it with rosmake. Instead:

$ cd ~/ros_workspace
$ catkin_make
$ source devel/setup.bash

After that you can run the program.

edit flag offensive delete link more

Comments

Hi joq,

I made this:

  • cd ~/ros_workspace.
  • git clone //repository/package_name\.
  • cd package_name.
  • rosmake.

To update the package later on, run the commands:

  • roscd package_name.
  • git pull.
  • rosmake --pre-clean.

Please, How do you install the osm_cartography package?

Regards

Fenix gravatar image Fenix  ( 2015-10-08 11:30:55 -0500 )edit

Hi again joq,

Thanks a lot for your help and time. Problem solved.

Fenix gravatar image Fenix  ( 2015-10-09 04:05:44 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-10-07 11:38:48 -0500

Seen: 226 times

Last updated: Oct 09 '15