Searched refs:posOnLane (Results 1 – 2 of 2) sorted by relevance
1138 …const double posOnLane = isOpposite() ? myVehicle.getLane()->getOppositePos(myVehicle.getPositionO… in _wantsChange() local1196 …0 && leader.first != 0 && leader.first->isStopped() && leader.second < (currentDist - posOnLane)) { in _wantsChange()1203 …hLead.first != 0 && neighLead.first->isStopped() && neighLead.second < (currentDist - posOnLane)) { in _wantsChange()1243 …const double usableDist = MAX2(currentDist - posOnLane - best.occupation * JAM_FACTOR, driveToNext… in _wantsChange()1246 const double neighLeftPlace = MAX2((double) 0, neighDist - posOnLane - maxJam); in _wantsChange()1322 && MIN2(neighDist, currentDist) - posOnLane > overtakeDist in _wantsChange()1334 << " remaining=" << MIN2(neighDist, currentDist) - posOnLane in _wantsChange()1405 myLeftSpace = currentDist - posOnLane; in _wantsChange()
71 …const double posOnLane = veh.getBackPositionOnLane(enteredLane) + veh.getVehicleType().getLength(); in notifyEnter() local72 if (myLane == enteredLane && posOnLane > myPosition) { in notifyEnter()