diff --git a/routing/routing_integration_tests/pedestrian_route_test.cpp b/routing/routing_integration_tests/pedestrian_route_test.cpp index 02d6aa4fd5..f9b25ab054 100644 --- a/routing/routing_integration_tests/pedestrian_route_test.cpp +++ b/routing/routing_integration_tests/pedestrian_route_test.cpp @@ -523,3 +523,12 @@ UNIT_TEST(RussiaElbrusPriut11) MercatorBounds::FromLatLon(43.35254, 42.43788), {0., 0.}, MercatorBounds::FromLatLon(43.31475, 42.46035), 5998.61 /* expectedTimeSeconds */); } + +// Test on going straight forward on primary road. +UNIT_TEST(BudvaPrimaryRoad) +{ + integration::CalculateRouteAndTestRouteLength( + integration::GetVehicleComponents(), + MercatorBounds::FromLatLon(42.2884527, 18.8456794), {0., 0.}, + MercatorBounds::FromLatLon(42.2880575, 18.8492896), 368.85); +} diff --git a/routing_common/pedestrian_model.cpp b/routing_common/pedestrian_model.cpp index bc098ac65c..36bfaec190 100644 --- a/routing_common/pedestrian_model.cpp +++ b/routing_common/pedestrian_model.cpp @@ -34,8 +34,8 @@ HighwayBasedMeanSpeeds const kDefaultSpeeds = { // {highway class : InOutCitySpeedKMpH(in city(weight, eta), out city(weight eta))} {HighwayType::HighwayTrunk, InOutCitySpeedKMpH(SpeedKMpH(1.0, 5.0))}, {HighwayType::HighwayTrunkLink, InOutCitySpeedKMpH(SpeedKMpH(1.0, 5.0))}, - {HighwayType::HighwayPrimary, InOutCitySpeedKMpH(SpeedKMpH(2.0, 5.0))}, - {HighwayType::HighwayPrimaryLink, InOutCitySpeedKMpH(SpeedKMpH(2.0, 5.0))}, + {HighwayType::HighwayPrimary, InOutCitySpeedKMpH(SpeedKMpH(3.0, 5.0))}, + {HighwayType::HighwayPrimaryLink, InOutCitySpeedKMpH(SpeedKMpH(3.0, 5.0))}, {HighwayType::HighwaySecondary, InOutCitySpeedKMpH(SpeedKMpH(3.0, 5.0))}, {HighwayType::HighwaySecondaryLink, InOutCitySpeedKMpH(SpeedKMpH(3.0, 5.0))}, {HighwayType::HighwayTertiary, InOutCitySpeedKMpH(SpeedKMpH(4.0, 5.0))},