Update speed and factor for cars and bikes on tracks

Signed-off-by: lluka <lluka@noreply.codeberg.org>
This commit is contained in:
lluka
2025-10-20 19:44:18 +02:00
committed by Konstantin Pastbin
parent 25f933ddc7
commit 797cdb487c
2 changed files with 2 additions and 2 deletions

View File

@@ -171,7 +171,7 @@ VehicleModel::SurfaceInitList const kBicycleSurface = {
{{"psurface", "paved_good"}, {1.0, 1.0}},
{{"psurface", "paved_bad"}, {0.8, 0.8}},
{{"psurface", "unpaved_good"}, {0.9, 0.9}},
{{"psurface", "unpaved_bad"}, {0.3, 0.3}},
{{"psurface", "unpaved_bad"}, {0.6, 0.6}},
// No dedicated cycleway doesn't mean that bicycle is not allowed, just lower weight.
// If nocycleway is tagged explicitly then there is no cycling infra for sure.
// Otherwise there is a small chance cycling infra is present though not mapped?

View File

@@ -73,7 +73,7 @@ HighwayBasedSpeeds const kHighwayBasedSpeeds = {
// The rest:
{HighwayType::HighwayService, InOutCitySpeedKMpH(15.00 /* in city */, 15.00 /* out city */)},
{HighwayType::HighwayRoad, InOutCitySpeedKMpH(10.00 /* in city */, 10.00 /* out city */)},
{HighwayType::HighwayTrack, InOutCitySpeedKMpH(5.00 /* in city */, 5.00 /* out city */)},
{HighwayType::HighwayTrack, InOutCitySpeedKMpH(45.00 /* in city */, 45.00 /* out city */)},
{HighwayType::ManMadePier, InOutCitySpeedKMpH({17.00, 10.00} /* in city */, {17.00, 10.00} /* out city */)},
{HighwayType::RouteFerry, InOutCitySpeedKMpH(10.00 /* in city */, 10.00 /* out city */)},