added junction name in map builder
This commit is contained in:
parent
c6542d2c64
commit
7643544e37
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue