#ifndef YUHESEN_ADAPTER_H #define YUHESEN_ADAPTER_H #include #include #include #include #include #include #include //#include namespace iv { namespace decition { class YuHeSenAdapter: public BaseAdapter { public: float lastTorque; float lastBrake; int lastDangWei=0; int seizingCount=0; YuHeSenAdapter(); ~YuHeSenAdapter(); iv::decition::Decition getAdapterDeciton(GPS_INS now_gps_ins, std::vector trace , float dSpeed, float obsDistacne , float obsSpeed,float acc,float accNow ,bool changingDangWei,Decition *decition); float limitBrake(float realSpeed, float controlBrake,float dSpeed,float obsDistance , float ttc); float limitSpeed(float realSpeed, float controlBrake,float dSpeed,float controlSpeed ); private: }; } } #endif // VV7_ADAPTER_H