Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROS noetic issue #25

Open
brianr1234 opened this issue Jul 20, 2021 · 5 comments
Open

ROS noetic issue #25

brianr1234 opened this issue Jul 20, 2021 · 5 comments

Comments

@brianr1234
Copy link

When running the tutorial listed on http://wiki.ros.org/osm_cartography (section 3) using ROS noetic I get the following error message. Was there as issue with the port to noetic?

Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt

SUMMARY
========

PARAMETERS
 * /rosdistro: noetic
 * /rosversion: 1.16.0
 * /viz_osm/map_url: package://osm_car...

NODES
  /
    osm_server (osm_cartography/osm_server)
    viz_osm (osm_cartography/viz_osm)

ROS_MASTER_URI=http://localhost:11311

process[osm_server-1]: started with pid [495782]
process[viz_osm-2]: started with pid [495783]
  File "/opt/ros/noetic/lib/osm_cartography/viz_osm", line 107
    lambda (f): geodesy.props.match(f, road_props),
           ^
SyntaxError: invalid syntax
@laidovaldvee
Copy link

in viz_osm file remove () from rows 107, 112, 117 and 122.
Also change row 174 like this: for feature in filter(predicate, self.map.features):
And finaly in file osm_server remove change in row 84 "/map" to "map"

@YXGuan
Copy link

YXGuan commented Jul 19, 2022

@laidovaldvee @brianr1234

Hi guys,

I run the below commands but nothing appears in RVIZ.
roscore
roslaunch osm_cartography viz_osm.launch url:=package://osm_cartography/tests/prc.osm
rosrun tf static_transform_publisher 622150 3362350 0 0 0 0 1 map local_map 100
rviz

image
image

Your help would be much appreciated.

@bmagyar
Copy link
Member

bmagyar commented Jul 20, 2022

@laidovaldvee It'd be much appreciated if you could provide a Pull Request with these changes so that we can put out a fixed release as opposed to ghetto fixes.

@siddarth09
Copy link

@laidovaldvee @brianr1234

Hi guys,

I run the below commands but nothing appears in RVIZ. roscore roslaunch osm_cartography viz_osm.launch url:=package://osm_cartography/tests/prc.osm rosrun tf static_transform_publisher 622150 3362350 0 0 0 0 1 map local_map 100 rviz

image image

Your help would be much appreciated.

Added visualization marker array and i guess you should be able to view your map, Hope that helps

@sniper006006
Copy link

@laidovaldvee @brianr1234

Hi guys,

I run the below commands but nothing appears in RVIZ. roscore roslaunch osm_cartography viz_osm.launch url:=package://osm_cartography/tests/prc.osm rosrun tf static_transform_publisher 622150 3362350 0 0 0 0 1 map local_map 100 rviz

image image

Your help would be much appreciated.

“Hello, I encountered the same issue as you. Has this problem been resolved?,thank you”

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants