1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #ifndef PLANPOINT_H
- #define PLANPOINT_H
- class PlanPoint
- {
- public:
- bool bInlaneAvoid = false;
- double mx_left;
- double my_left;
- double mx_right;
- double my_right;
- double x;
- double y;
- double speed;
- int lanmp; //left 1 right -1
- double hdg;
- double dis;
- double mS;
- double mWidth; //Current Lane Width
- double mLeftWidth[5];
- double mRightWidth[5];
- double mfRoadWidth;
- double mfDisToRoadLeft;
- double mfDisToLaneLeft;
- int mnLaneori = 0; //from Right 0
- int mnLaneTotal = 1; //Lane Total
- int nSignal = -1; //if 0 no signal point
- int nRoadID =-1;
- double mfSecx;
- double mfSecy;
- int nlrchange; //1 left 2 right
- bool mbBoringRoad = false;
- bool mbNoavoid = false;
- double mfCurvature = 0.0;
- };
- #endif // PLANPOINT_H
|