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

converting osm to sdf #6

Open
ghost opened this issue Apr 27, 2015 · 1 comment
Open

converting osm to sdf #6

ghost opened this issue Apr 27, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 27, 2015

hi
I want to convert a osm map, but it doesn't work

 ./gz_osm.py -O map.osm 
Downloading the osm data ... 
Elapsed time is 0.159263849258 seconds.
Extracting the map data for gazebo ...
Traceback (most recent call last):
  File "./gz_osm.py", line 175, in <module>
    roadPointWidthMap, modelPoseMap, buildingLocationMap = osmRoads.getMapDetails()
  File "source/osm2dict.py", line 308, in getMapDetails
    self.getModelDetails()
  File "source/osm2dict.py", line 195, in getModelDetails
    modelLocation = self.getPoints(coords)
  File "source/osm2dict.py", line 107, in getPoints
    dLat = lat2-np.radians(self.latStart)
TypeError: Not implemented for this type
@Tashwin
Copy link
Contributor

Tashwin commented Apr 28, 2015

Hi,

I just fixed that bug and created a pull request regarding the same.
#7
Hope it works out.

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

1 participant