WIP: [navigation] Increase finish intermediate stop distance from 20 to 30m for car #5133
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ RoutingSettings GetRoutingSettings(VehicleType vehicleType)
|
|||
50.0 /* m_matchingThresholdM */,
|
||||
true /* m_showTurnAfterNext */,
|
||||
measurement_utils::KmphToMps(3.0) /* m_minSpeedForRouteRebuildMpS */,
|
||||
20.0 /* m_finishToleranceM */,
|
||||
30.0 /* m_finishToleranceM */,
|
||||
9 /* m_maxOutgoingPointsCount */,
|
||||
![]() @vng should kOnEndToleranceM be modified instead for intermediate stops? I was confused by the logic:
@vng should kOnEndToleranceM be modified instead for intermediate stops? I was confused by the logic:
```
double const finishToleranceM = segmentIdx == m_routeSegments.size() - 1
? m_routingSettings.m_finishToleranceM
: kOnEndToleranceM;
```
![]() Let's also rename these variables to make them more clear. What can you suggest? Let's also rename these variables to make them more clear. What can you suggest?
rtsisyk
commented
Google Maps finishes my route when I drive 100 meters from the point. Google Maps finishes my route when I drive 100 meters from the point.
rtsisyk
commented
it looks like that m_finishToleranceM is for the final point, kOnEndToleranceM for intermediate. Why do we need two constants here? ```
double const finishToleranceM = segmentIdx == m_routeSegments.size() - 1
? m_routingSettings.m_finishToleranceM
: kOnEndToleranceM;
```
it looks like that m_finishToleranceM is for the final point, kOnEndToleranceM for intermediate. Why do we need two constants here?
|
||||
120.0 /* m_minOutgoingDistMeters */,
|
||||
2 /* m_maxIngoingPointsCount */,
|
||||
|
|
Reference in a new issue
Probably even 50.