planpoint.h 859 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #ifndef PLANPOINT_H
  2. #define PLANPOINT_H
  3. class PlanPoint
  4. {
  5. public:
  6. bool bInlaneAvoid = false;
  7. double mx_left;
  8. double my_left;
  9. double mx_right;
  10. double my_right;
  11. double x;
  12. double y;
  13. double speed;
  14. int lanmp; //left 1 right -1
  15. double hdg;
  16. double dis;
  17. double mS;
  18. double mWidth; //Current Lane Width
  19. double mLeftWidth[5];
  20. double mRightWidth[5];
  21. double mfRoadWidth;
  22. double mfDisToRoadLeft;
  23. double mfDisToLaneLeft;
  24. int mnLaneori = 0; //from Right 0
  25. int mnLaneTotal = 1; //Lane Total
  26. int nSignal = -1; //if 0 no signal point
  27. int nRoadID =-1;
  28. double mfSecx;
  29. double mfSecy;
  30. int nlrchange; //1 left 2 right
  31. bool mbBoringRoad = false;
  32. bool mbNoavoid = false;
  33. double mfCurvature = 0.0;
  34. };
  35. #endif // PLANPOINT_H