ge3_adapter.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. #ifndef GE3_ADAPTER_H
  2. #define GE3_ADAPTER_H
  3. #include <gps_type.h>
  4. #include <decition_type.h>
  5. #include <obstacle_type.h>
  6. #include <vector>
  7. #include <gnss_coordinate_convert.h>
  8. #include <adc_adapter/base_adapter.h>
  9. #include <adc_tools/transfer.h>
  10. //#include <decision/decide_gps_00.h>
  11. namespace iv {
  12. namespace decition {
  13. class Ge3Adapter: public BaseAdapter {
  14. public:
  15. float lastTorque;
  16. float lastBrake;
  17. Ge3Adapter();
  18. ~Ge3Adapter();
  19. iv::decition::Decition getAdapterDeciton(GPS_INS now_gps_ins, std::vector<Point2D> trace , float dSpeed, float obsDistacne ,
  20. float obsSpeed,float acc,float accNow ,bool changingDangWei,Decition *decition);
  21. float limitBrake(float realSpeed, float controlBrake,float dSpeed,float obsDistance , float ttc);
  22. float limitSpeed(float realSpeed, float controlBrake,float dSpeed,float controlSpeed );
  23. private:
  24. };
  25. }
  26. }
  27. #endif // GE3_ADAPTER_H