lookuptable.h 423 B

123456789101112131415161718192021
  1. #ifndef LOOKUPTABLE_H
  2. #define LOOKUPTABLE_H
  3. #include <QFile>
  4. #include "interpolation_2d.h"
  5. class LookupTable
  6. {
  7. public:
  8. LookupTable();
  9. private:
  10. apollo::control::Interpolation2D mInterpolation2D_torque,mInterpolation2D_brake;
  11. bool mbInterpolation2DOK = false;
  12. public:
  13. int GetTorqueBrake(double fVeh,double fAcc,double & fTorque, double & fBrake);
  14. bool IsINterpolationOK();
  15. };
  16. #endif // LOOKUPTABLE_H