base_adapter.h 801 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef BASE_ADAPTER_H
  2. #define BASE_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. namespace iv {
  9. namespace decition {
  10. class BaseAdapter {
  11. public:
  12. int adapter_id;
  13. std::string adapter_name;
  14. BaseAdapter();
  15. ~BaseAdapter();
  16. virtual iv::decition::Decition getAdapterDeciton(GPS_INS now_gps_ins, std::vector<Point2D> trace , float dSpeed, float obsDistacne ,
  17. float obsSpeed,float accAim,float accNow, bool changingDangWei,Decition *decition);
  18. public:
  19. float minDecelerate = -100;
  20. private:
  21. };
  22. }
  23. }
  24. #endif // BASE_ADAPTER_H