hatem-darweesh / assuremappingtools

Desktop based tool for viewing, editing and saving road network maps for autonomous vehicle platforms such as Autoware.
GNU General Public License v3.0
210 stars 74 forks source link

Seg fault when Loading an .osm that was just created using the tool #12

Closed patrick-neal closed 4 years ago

patrick-neal commented 4 years ago

When I load a .osm file, that I just created using the mapping tool I get a segmentation fault and the program terminates. Here is a link to the osm file: https://www.dropbox.com/s/o3otueh1um6qon0/Test_Map_2.osm?dl=0

The map is very simple. Two lane segments that are linked with the to/from tag. Any help would be appreciated.

robinchen2019 commented 4 years ago

i have the same problem. the .osm is created by assure map tool. but when i read the map to the software, the fault occured.

hatem-darweesh commented 4 years ago

@popeyedpanther, @robinchen2019 Sorry for the late reply, You can solve this problem by providing origin GPS data at the "Mapping Options" dialog while loading the map. for your map example. I just used first GPS point from the .osm file

Lat: 29.6455991507 Long: -82.35307914587

and loading works fine.

patrick-neal commented 4 years ago

I tried using the GPS coordinates you used on the dialog box that pops up before map selection and it still leads to a seg fault. I made a short video: https://www.dropbox.com/s/asie8gr2nbpg50c/2020-06-30%2012-12-17.mp4?dl=0

hatem-darweesh commented 4 years ago

check this video: https://youtu.be/0nt63WhVj0A

Can you try downloading the latest version from the tool.

sometimes it is missing library or wrong version. please follow exactly the setup steps in: https://github.com/hatem-darweesh/assuremappingtools/tree/ubuntu18.04_build

patrick-neal commented 4 years ago

I performed a fresh install on a new VM and now it loads the lanelet2 files without crashing.