mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-23 22:53:43 +00:00
[core] Replace SmallMap
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
committed by
Konstantin Pastbin
parent
969e1ef2da
commit
882dccb87d
@@ -97,7 +97,7 @@ CarModel::CarModel(VehicleModel::LimitsInitList const & roadLimits)
|
||||
m_yesType = cl.GetTypeByPath(hwtagYesCar);
|
||||
|
||||
// Set small track speed if highway is not in kHighwayBasedSpeeds (path, pedestrian), but marked as yescar.
|
||||
AddAdditionalRoadTypes(cl, {{std::move(hwtagYesCar), kHighwayBasedSpeeds.Get(HighwayType::HighwayTrack)}});
|
||||
AddAdditionalRoadTypes(cl, {{std::move(hwtagYesCar), kHighwayBasedSpeeds.at(HighwayType::HighwayTrack)}});
|
||||
|
||||
// Set max possible (reasonable) car speed. See EdgeEstimator::CalcHeuristic.
|
||||
SpeedKMpH constexpr kMaxCarSpeedKMpH(200.0);
|
||||
|
||||
Reference in New Issue
Block a user