ctrlcmd2decition.h 733 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef CTRLCMD2DECITION_H
  2. #define CTRLCMD2DECITION_H
  3. #include "modulecomm.h"
  4. #include "decition.pb.h"
  5. #include "autowarectrlcmd.pb.h"
  6. #include "gpsimu.pb.h"
  7. #include "lookuptable.h"
  8. class ctrlcmd2decition
  9. {
  10. public:
  11. ctrlcmd2decition();
  12. ~ctrlcmd2decition();
  13. private:
  14. void ListenCtrlCmd(const char * strdata,const unsigned int nSize,const unsigned int index,const QDateTime * dt,const char * strmemname);
  15. void ListenGPSIMU(const char * strdata,const unsigned int nSize,const unsigned int index,const QDateTime * dt,const char * strmemname);
  16. private:
  17. void * mpadecision;
  18. void * mpactrlcmd;
  19. void * mpagpsimu;
  20. private:
  21. LookupTable * mpLT;
  22. double mfVelNow = 0;
  23. };
  24. #endif // CTRLCMD2DECITION_H