I am having an issue when trying to convert my lanelet2 map to the vector map format.
I have created a file containing a simple lane, which I have validated using the lanelet2 validator.
I try to convert the file with an arbitrarily close origin, however when I run the following:
The program crashes with the following stack trace:
/home/autoware/map_test/test.osm
terminate called after throwing an instance of 'std::out_of_range'
what(): _Map_base::at
Thread 1 "lanelet2vectorm" received signal SIGABRT, Aborted.
0x00007ffff5e10428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff5e10428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007ffff5e1202a in __GI_abort () at abort.c:89
#2 0x00007ffff675384d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007ffff67516b6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007ffff6751701 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff6751919 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff677a2cf in std::__throw_out_of_range(char const*) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7 0x00007ffff79b5e1d in std::__detail::_Map_base<int, std::pair<int const, std::shared_ptr<autoware_map::Waypoint> >, std::allocator<std::pair<int const, std::shared_ptr<autoware_map::Waypoint> > >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::at (this=this@entry=0x7fffffff5f20, __k=@0x696240: 4) at /usr/include/c++/5/bits/hashtable_policy.h:646
#8 0x00007ffff79abe5b in std::unordered_map<int, std::shared_ptr<autoware_map::Waypoint>, std::hash<int>, std::equal_to<int>, std::allocator<std::pair<int const, std::shared_ptr<autoware_map::Waypoint> > > >::at (__k=@0x696240: 4, this=0x7fffffff5f20) at /usr/include/c++/5/bits/unordered_map.h:685
#9 autoware_map::AutowareMapHandler::resolveRelations (this=this@entry=0x7fffffff5dd0) at /home/autoware/Autoware/ros/src/data/packages/autoware_map/lib/autoware_map/map_handler.cpp:292
#10 0x0000000000420e1c in main (argc=1, argv=<optimized out>) at /home/autoware/Autoware/ros/src/data/packages/vector_map_converter/src/lanelet2vectormap.cpp:137
Any advice or help would be greatly appreciated! Thank you!
Hi there,
I am having an issue when trying to convert my lanelet2 map to the vector map format.
I have created a file containing a simple lane, which I have validated using the lanelet2 validator. I try to convert the file with an arbitrarily close origin, however when I run the following:
rosrun vector_map_converter lanelet2vectormap _map_file:=/home/autoware/map_test/test.osm _origin_lat:=-33.01_origin_lon:=115.0
The program crashes with the following stack trace:
Any advice or help would be greatly appreciated! Thank you!
LANELET2 FILE: