|
@@ -2032,12 +2032,12 @@ std::vector<PlanPoint> GetLanePoint(pathsection xps,std::vector<PlanPoint> xvPP,
|
|
|
pp.mfSecy = pp.y ;
|
|
|
}
|
|
|
|
|
|
- pp.mWidth = getwidth(xps.mpRoad,nlane1,xvectorLWA,pp.mS);
|
|
|
+ pp.mWidth = getwidth(xps.mpRoad,xps.mainsel,xvectorLWA,pp.mS);
|
|
|
pp.mfDisToLaneLeft = pp.mWidth/2.0;
|
|
|
pp.lanmp = 0;
|
|
|
pp.mfDisToRoadLeft = off1*(-1);
|
|
|
- pp.mfRoadWidth = GetRoadWidth(xvectorLWA,nlane1,pp.mS);
|
|
|
- GetLaneOriTotal(xps.mpRoad,nlane1,pp.mS,pp.mnLaneori,pp.mnLaneTotal,pp.speed);
|
|
|
+ pp.mfRoadWidth = GetRoadWidth(xvectorLWA,xps.mainsel,pp.mS);
|
|
|
+ GetLaneOriTotal(xps.mpRoad,xps.mainsel,pp.mS,pp.mnLaneori,pp.mnLaneTotal,pp.speed);
|
|
|
|
|
|
xvectorPP.push_back(pp);
|
|
|
}
|
|
@@ -2079,12 +2079,12 @@ std::vector<PlanPoint> GetLanePoint(pathsection xps,std::vector<PlanPoint> xvPP,
|
|
|
pp.mfSecy = pp.y ;
|
|
|
}
|
|
|
|
|
|
- pp.mWidth = getwidth(xps.mpRoad,nlane1,xvectorLWA,pp.mS);
|
|
|
+ pp.mWidth = getwidth(xps.mpRoad,xps.mainsel,xvectorLWA,pp.mS);
|
|
|
pp.mfDisToLaneLeft = pp.mWidth/2.0;
|
|
|
pp.lanmp = 0;
|
|
|
pp.mfDisToRoadLeft = off1;
|
|
|
- pp.mfRoadWidth = GetRoadWidth(xvectorLWA,nlane1,pp.mS);
|
|
|
- GetLaneOriTotal(xps.mpRoad,nlane1,pp.mS,pp.mnLaneori,pp.mnLaneTotal,pp.speed);
|
|
|
+ pp.mfRoadWidth = GetRoadWidth(xvectorLWA,xps.mainsel,pp.mS);
|
|
|
+ GetLaneOriTotal(xps.mpRoad,xps.mainsel,pp.mS,pp.mnLaneori,pp.mnLaneTotal,pp.speed);
|
|
|
|
|
|
xvectorPP.push_back(pp);
|
|
|
}
|