fix bug reading junction and geodesic grid id from cached map

This commit is contained in:
Joel Moriana 2021-09-14 13:14:25 +02:00 committed by Jacopo Bartiromo
parent 4a32bfecb6
commit 321a4495f6
1 changed files with 2 additions and 0 deletions

View File

@ -128,6 +128,8 @@ namespace traffic_manager {
WaypointPtr waypoint_ptr = _world_map->GetWaypointXODR(cached_wp.road_id, cached_wp.lane_id, cached_wp.s);
SimpleWaypointPtr wp = std::make_shared<SimpleWaypoint>(waypoint_ptr);
wp->SetGeodesicGridId(cached_wp.geodesic_grid_id);
wp->SetIsJunction(cached_wp.is_junction);
dense_topology.push_back(wp);
}