Coder Social home page Coder Social logo

phbender / liblanelet Goto Github PK

View Code? Open in Web Editor NEW
140.0 140.0 47.0 1.05 MB

Lanelet maps have been introduced in the context of the autonomous completion of the Bertha-Benz-Memorial-Route in 2013

License: GNU General Public License v3.0

C++ 90.11% Python 9.24% C 0.07% CSS 0.06% Shell 0.37% Objective-C 0.09% Makefile 0.07%

liblanelet's People

Contributors

earthwings avatar phbender avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

liblanelet's Issues

Not able to compile

I am trying to compile liblanelet on a ubuntu machine. I have included OS,compiler and error details in 1),2),3) section. I think I am making some small mistake. Your guidance will be appreciated.

  1. OS details

Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial

2)compiler details:

/gmu/map/liblanelet-master$ g++ --version
g++ (Ubuntu 5.4.0-6ubuntu1
16.04.4) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

3)error that I am getting:

scons install
scons: Reading SConscript files ...
Will not create pkg-configs
scons: done reading SConscript files.
scons: Building targets ...
/usr/bin/g++ -o libLanelet/build/llet_xml.os -c -O3 -std=c++0x -g -fPIC -DDEBUG -DTRACE_LEVEL=critical -Iinstalls/include libLanelet/llet_xml.cpp
In file included from libLanelet/llet_xml.cpp:24:0:
installs/include/MRT/libpugixml/pugixml.hpp:97:10: error: reference to 'basic_string' is ambiguous
typedef std::basic_string<PUGIXML_CHAR, std::char_traits<PUGIXML_CHAR>, std::
typedef std::basic_string<PUGIXML_CHAR, std::char_traits<PUGIXML_CHAR>, std::allocator<PUGIXML_CHAR> > string_t;
^
In file included from libLanelet/llet_xml.cpp:24:0:
installs/include/MRT/libpugixml/pugixml.hpp:37:57: note: candidates are: template<class _Elem, class _Traits, class _Ax> class std::basic_string
template <class _Elem, class _Traits, class _Ax> class basic_string;
^
In file included from /usr/include/c++/5/string:39:0,
from /usr/include/c++/5/random:40,
from /usr/include/c++/5/bits/stl_algo.h:66,
from /usr/include/c++/5/algorithm:62,
from /usr/include/boost/math/tools/config.hpp:17,
from /usr/include/boost/math/tools/promotion.hpp:26,
from /usr/include/boost/math/special_functions/detail/round_fwd.hpp:12,
from /usr/include/boost/math/special_functions/math_fwd.hpp:26,
from /usr/include/boost/math/special_functions/airy.hpp:11,
from /usr/include/boost/math/special_functions.hpp:15,
from libLanelet/lanelet_point.hpp:22,
from libLanelet/LaneletBase.hpp:25,
from libLanelet/Lanelet.hpp:22,
from libLanelet/llet_xml.hpp:23,
from libLanelet/llet_xml.cpp:20:
/usr/include/c++/5/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
class basic_string;
^
In file included from libLanelet/llet_xml.cpp:24:0:
installs/include/MRT/libpugixml/pugixml.hpp:505:3: error: 'string_t' does not name a type
string_t path(char_t delimiter = '/') const;
^
installs/include/MRT/libpugixml/pugixml.hpp:918:3: error: 'string_t' does not name a type
string_t evaluate_string(const xpath_node& n) const;
^
installs/include/MRT/libpugixml/pugixml.hpp:1066:2: error: reference to 'basic_string' is ambiguous
std::basic_string<char, std::char_traits, std::allocator > PUGIXML_FUNCTION as_utf8(const wchar_t* str);
^
In file included from libLanelet/llet_xml.cpp:24:0:
installs/include/MRT/libpugixml/pugixml.hpp:37:57: note: candidates are: template<class _Elem, class _Traits, class _Ax> class std::basic_string
template <class _Elem, class _Traits, class _Ax> class basic_string;
^
In file included from /usr/include/c++/5/string:39:0,
from /usr/include/c++/5/random:40,
from /usr/include/c++/5/bits/stl_algo.h:66,
from /usr/include/c++/5/algorithm:62,
from /usr/include/boost/math/tools/config.hpp:17,
from /usr/include/boost/math/tools/promotion.hpp:26,
from /usr/include/boost/math/special_functions/detail/round_fwd.hpp:12,
from /usr/include/boost/math/special_functions/math_fwd.hpp:26,
from /usr/include/boost/math/special_functions/airy.hpp:11,
from /usr/include/boost/math/special_functions.hpp:15,
from libLanelet/lanelet_point.hpp:22,
from libLanelet/LaneletBase.hpp:25,
from libLanelet/Lanelet.hpp:22,
from libLanelet/llet_xml.hpp:23,
from libLanelet/llet_xml.cpp:20:
/usr/include/c++/5/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
class basic_string;
^
In file included from libLanelet/llet_xml.cpp:24:0:
installs/include/MRT/libpugixml/pugixml.hpp:1067:2: error: reference to 'basic_string' is ambiguous
std::basic_string<char, std::char_traits, std::allocator > PUGIXML_FUNCTION as_utf8(const std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >& str);
^
In file included from libLanelet/llet_xml.cpp:24:0:
installs/include/MRT/libpugixml/pugixml.hpp:37:57: note: candidates are: template<class _Elem, class _Traits, class _Ax> class std::basic_string
template <class _Elem, class _Traits, class _Ax> class basic_string;
^
In file included from /usr/include/c++/5/string:39:0,
from /usr/include/c++/5/random:40,
from /usr/include/c++/5/bits/stl_algo.h:66,
from /usr/include/c++/5/algorithm:62,
from /usr/include/boost/math/tools/config.hpp:17,
from /usr/include/boost/math/tools/promotion.hpp:26,
from /usr/include/boost/math/special_functions/detail/round_fwd.hpp:12,
from /usr/include/boost/math/special_functions/math_fwd.hpp:26,
from /usr/include/boost/math/special_functions/airy.hpp:11,
from /usr/include/boost/math/special_functions.hpp:15,
from libLanelet/lanelet_point.hpp:22,
from libLanelet/LaneletBase.hpp:25,
from libLanelet/Lanelet.hpp:22,
from libLanelet/llet_xml.hpp:23,
from libLanelet/llet_xml.cpp:20:
/usr/include/c++/5/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
class basic_string;
^
In file included from libLanelet/llet_xml.cpp:24:0:
installs/include/MRT/libpugixml/pugixml.hpp:1070:2: error: reference to 'basic_string' is ambiguous
std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > PUGIXML_FUNCTION as_wide(const char* str);
^
In file included from libLanelet/llet_xml.cpp:24:0:
installs/include/MRT/libpugixml/pugixml.hpp:37:57: note: candidates are: template<class _Elem, class _Traits, class _Ax> class std::basic_string
template <class _Elem, class _Traits, class _Ax> class basic_string;
^
In file included from /usr/include/c++/5/string:39:0,
from /usr/include/c++/5/random:40,
from /usr/include/c++/5/bits/stl_algo.h:66,
from /usr/include/c++/5/algorithm:62,
from /usr/include/boost/math/tools/config.hpp:17,
from /usr/include/boost/math/tools/promotion.hpp:26,
from /usr/include/boost/math/special_functions/detail/round_fwd.hpp:12,
from /usr/include/boost/math/special_functions/math_fwd.hpp:26,
from /usr/include/boost/math/special_functions/airy.hpp:11,
from /usr/include/boost/math/special_functions.hpp:15,
from libLanelet/lanelet_point.hpp:22,
from libLanelet/LaneletBase.hpp:25,
from libLanelet/Lanelet.hpp:22,
from libLanelet/llet_xml.hpp:23,
from libLanelet/llet_xml.cpp:20:
/usr/include/c++/5/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
class basic_string;
^
In file included from libLanelet/llet_xml.cpp:24:0:
installs/include/MRT/libpugixml/pugixml.hpp:1071:2: error: reference to 'basic_string' is ambiguous
std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > PUGIXML_FUNCTION as_wide(const std::basic_string<char, std::char_traits, std::allocator >& str);
^
In file included from libLanelet/llet_xml.cpp:24:0:
installs/include/MRT/libpugixml/pugixml.hpp:37:57: note: candidates are: template<class _Elem, class _Traits, class _Ax> class std::basic_string
template <class _Elem, class _Traits, class _Ax> class basic_string;
^
In file included from /usr/include/c++/5/string:39:0,
from /usr/include/c++/5/random:40,
from /usr/include/c++/5/bits/stl_algo.h:66,
from /usr/include/c++/5/algorithm:62,
from /usr/include/boost/math/tools/config.hpp:17,
from /usr/include/boost/math/tools/promotion.hpp:26,
from /usr/include/boost/math/special_functions/detail/round_fwd.hpp:12,
from /usr/include/boost/math/special_functions/math_fwd.hpp:26,
from /usr/include/boost/math/special_functions/airy.hpp:11,
from /usr/include/boost/math/special_functions.hpp:15,
from libLanelet/lanelet_point.hpp:22,
from libLanelet/LaneletBase.hpp:25,
from libLanelet/Lanelet.hpp:22,
from libLanelet/llet_xml.hpp:23,
from libLanelet/llet_xml.cpp:20:
/usr/include/c++/5/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
class basic_string;
^
libLanelet/llet_xml.cpp: In member function 'virtual bool {anonymous}::TagWalker::for_each(pugi::xml_node&)':
libLanelet/llet_xml.cpp:49:28: error: 'string_t' is not a member of 'pugi'
if( node.name() == pugi::string_t("tag") )
^
libLanelet/llet_xml.cpp: In member function 'virtual bool {anonymous}::WayTreeWalker::for_each(pugi::xml_node&)':
libLanelet/llet_xml.cpp:72:28: error: 'string_t' is not a member of 'pugi'
if( node.name() == pugi::string_t("tag") )
^
libLanelet/llet_xml.cpp:79:34: error: 'string_t' is not a member of 'pugi'
else if( node.name() == pugi::string_t("nd") )
^
scons: *** [libLanelet/build/llet_xml.os] Error 1
scons: building terminated because of errors.
<PUGIXML_CHAR> > string_t;

Please inform users not to upload to OSM

We've recently had an issue in OSM where someone uploaded a bunch of lanelets to OpenStreetMap, breaking the data there. Could you make it more clear to users of your software that generated data is not meant for uploading to OpenStreetMap - if only by including a big warning here in your readme?

video is not available

Hi, I am using lanelets version 1 for 3 years. But today I wanna make a map and parse it with liblanelet as the video, and accidently found that the video is not available now. Is there any other source to watch this video? Thanks.

[Question] Do you use or recommend using any particular JOSM Extensions?

Do you use or recommend using any particular JOSM Extensions? I'm new to JOSM and would like recommendations for Plugins, Presets, Rules, Styles(besides labelet_style), or Backgrounds that are helpful for autonomous vehicles. Could you please give more details on your configuration?

Thank you very much for the help & also for sharing this incredible project!

what is your (*boundPtr)[0]?

Hi, great wrok! but I have a question that, in your codes, do you use the destination point of the left/right boundary as the (*boundPtr)[0]? why do you choose this setting style by not using the first point as (*boundPtr)[0]? Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.