added junction name in map builder

This commit is contained in:
Manish 2019-03-15 12:51:44 +01:00
parent c6542d2c64
commit 7643544e37
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ namespace parser {
// Fill Map Builder
for (auto &junction : junctions) {
map_builder.CreateJunction(junction.id);
map_builder.AddJunction(junction.id, junction.name);
for (auto &connection : junction.connections) {
map_builder.AddConnection(junction.id,
connection.id,

View File

@ -134,7 +134,7 @@ namespace road {
// called from junction parser
void CreateJunction(const int32_t id);
void AddJunction(const int32_t id, const std::string name);
void AddConnection(
const int32_t junction_id,