Skip to content

Commit

Permalink
Change MAXIMAL_ALLOWED_SEPARATION_WIDTH from 8 to 12 meters
Browse files Browse the repository at this point in the history
  • Loading branch information
oxidase committed Jan 3, 2018
1 parent d8185eb commit a2140c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extractor/guidance/mergable_road_detector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ bool MergableRoadDetector::HaveSameDirection(const NodeID intersection_node,
1, node_based_graph.GetEdgeData(rhs.eid).flags.road_classification.GetNumberOfLanes());

const auto combined_road_width = 0.5 * (lane_count_lhs + lane_count_rhs) * ASSUMED_LANE_WIDTH;
const auto constexpr MAXIMAL_ALLOWED_SEPARATION_WIDTH = 8;
const auto constexpr MAXIMAL_ALLOWED_SEPARATION_WIDTH = 12;

return distance_between_roads <= combined_road_width + MAXIMAL_ALLOWED_SEPARATION_WIDTH;
}
Expand Down

0 comments on commit a2140c2

Please sign in to comment.