Fix quite fail

This commit is contained in:
nsubiron 2019-03-30 10:22:39 +01:00
parent 73b08e4a37
commit 664d6da784
2 changed files with 2 additions and 3 deletions

View File

@ -41,7 +41,7 @@ namespace opendrive {
parser::ProfilesParser::Parse(xml, map_builder);
parser::TrafficGroupParser::Parse(xml, map_builder);
parser::SignalParser::Parse(xml, map_builder);
parser::ObjectParser::Parse(xml, map_builder);
// parser::ObjectParser::Parse(xml, map_builder);
return map_builder.Build();
}

View File

@ -38,8 +38,7 @@ namespace parser {
void ObjectParser::Parse(
const pugi::xml_document &xml,
carla::road::MapBuilder & /* map_builder */) {
/// @todo: uncomment this return
return;
throw_exception(std::runtime_error("ObjectParser not ready"));
// Extracting the OpenDRIVE
pugi::xml_node opendrive_node = xml.child("OpenDRIVE");
for (pugi::xml_node road_node = opendrive_node.child("road");