From db437e1d95315b779a754c2ed89bb787bfc8448d Mon Sep 17 00:00:00 2001 From: Patrick Brosi Date: Tue, 1 Feb 2022 01:59:42 +0100 Subject: [PATCH] change some default values --- pfaedle.cfg | 12 ++++++------ src/pfaedle/config/MotConfigReader.cpp | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pfaedle.cfg b/pfaedle.cfg index 3d1b946..996a589 100644 --- a/pfaedle.cfg +++ b/pfaedle.cfg @@ -380,7 +380,7 @@ osm_lvl7_avg_speed: 5 routing_full_turn_penalty: 180 # 3 minutes # Penalty added to non-station placements -routing_non_station_penalty: 0.5 +routing_non_station_penalty: 0.3 # If the station name does not match, add this penalty routing_station_unmatched_penalty: 0.3 @@ -796,7 +796,7 @@ routing_station_unmatched_penalty: 0.2 routing_full_turn_penalty: 120 # 2 minutes # Penalty added to non-station placements -routing_non_station_penalty: 0.5 +routing_non_station_penalty: 0.3 # Max angle that should be counted as a full turn routing_full_turn_angle: 20 @@ -992,7 +992,7 @@ osm_lvl7_avg_speed: 5 routing_full_turn_penalty: 180 # 3 minutes # Penalty added to non-station placements -routing_non_station_penalty: 0.5 +routing_non_station_penalty: 0.3 # If the station name does not match, add this penalty routing_station_unmatched_penalty: 0.3 @@ -1127,7 +1127,7 @@ osm_lvl7_avg_speed: 5 routing_full_turn_penalty: 120 # 2 minutes # Penalty added to non-station placements -routing_non_station_penalty: 0.5 +routing_non_station_penalty: 0.3 # If the station name does not match, add this penalty routing_station_unmatched_penalty: 0.3 @@ -1293,7 +1293,7 @@ osm_lvl7_avg_speed: 5 routing_full_turn_penalty: 120 # 2 minutes # Penalty added to non-station placements -routing_non_station_penalty: 0.5 +routing_non_station_penalty: 0.3 # If the station name does not match, add this penalty routing_station_unmatched_penalty: 0.3 @@ -1391,7 +1391,7 @@ osm_lvl7_avg_speed: 5 routing_full_turn_penalty: 120 # 2 minutes # Penalty added to non-station placements -routing_non_station_penalty: 0.5 +routing_non_station_penalty: 0.3 # If the station name does not match, add this penalty routing_station_unmatched_penalty: 0.3 diff --git a/src/pfaedle/config/MotConfigReader.cpp b/src/pfaedle/config/MotConfigReader.cpp index 87be86e..52b8218 100644 --- a/src/pfaedle/config/MotConfigReader.cpp +++ b/src/pfaedle/config/MotConfigReader.cpp @@ -269,7 +269,7 @@ void MotConfigReader::parse(const std::vector& paths, double ref = p.getDouble(secStr, "osm_max_osm_station_distance"); cfg.osmBuildOpts.maxOsmStationDistances.push_back(ref); } else { - cfg.osmBuildOpts.maxOsmStationDistances.push_back(10); + cfg.osmBuildOpts.maxOsmStationDistances.push_back(15); } if (p.hasKey(secStr, "osm_max_node_block_distance")) {