ivpark_simple.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef IVPARK_SIMPLE_H
  2. #define IVPARK_SIMPLE_H
  3. #include "ivif_park.h"
  4. #include "gps_type.h"
  5. class ivpark_simple : public ivif_park
  6. {
  7. public:
  8. ivpark_simple();
  9. public:
  10. virtual bool IsBocheEnable(double fLon, double fLat, double fHeading);
  11. virtual int GetBocheDecision(double fLon,double fLat,double fHeading,double fSpeed,double & fAcc,double & fWheel,int & nshift,double & fdSpeed,double & fdSecSpeed,VehState & xvehstate,bool bbocheMode);
  12. private:
  13. iv::GPS_INS maimgps;
  14. VehState mlastvehstate;
  15. double mCircleWheel = 0;
  16. private:
  17. void reversingcarFun(iv::GPS_INS nowgps,double fSpeed,double & fAcc,double & fWheel,int & nshift,double & fdSpeed,double & fdSecSpeed,VehState & xvehstate);
  18. void reverseCircleFun(iv::GPS_INS nowgps,double fSpeed,double & fAcc,double & fWheel,int & nshift,double & fdSpeed,double & fdSecSpeed,VehState & xvehstate);
  19. void reverseDirectFun(iv::GPS_INS nowgps,double fSpeed,double & fAcc,double & fWheel,int & nshift,double & fdSpeed,double & fdSecSpeed,VehState & xvehstate);
  20. void reverseArrFun(iv::GPS_INS nowgps,double fSpeed,double & fAcc,double & fWheel,int & nshift,double & fdSpeed,double & fdSecSpeed,VehState & xvehstate);
  21. };
  22. #endif // IVPARK_SIMPLE_H