[traffic] Eliminate any ETA calculations, always return weight

Signed-off-by: mvglasow <michael -at- vonglasow.com>
This commit is contained in:
mvglasow
2025-10-19 17:59:48 +03:00
parent 3a45740884
commit 32d1a3a36e
2 changed files with 2 additions and 5 deletions

View File

@@ -580,11 +580,8 @@ double RoutingTraffDecoder::TraffEstimator::GetFerryLandingPenalty(Purpose /* pu
}
double RoutingTraffDecoder::TraffEstimator::CalcOffroad(ms::LatLon const & from, ms::LatLon const & to,
Purpose purpose) const
Purpose /* purpose */) const
{
if (purpose == Purpose::ETA)
return 0.0;
double result = ms::DistanceOnEarth(from, to);
result *= kOffroadPenalty;