obs_predict.h 835 B

12345678910111213141516171819202122
  1. #ifndef OBS_PREDICT_H
  2. #define OBS_PREDICT_H
  3. #include <gps_type.h>
  4. #include <obstacle_type.h>
  5. #include <decition_type.h>
  6. #include <vector>
  7. //#include <decision/decide_gps_00.h>
  8. #include "common/perceptionoutput.h"
  9. namespace iv {
  10. namespace decition {
  11. //根据传感器传输来的信息作出决策
  12. double PredictObsDistance(double realSpeed,std::vector<Point2D> gpsTrace,std::vector<iv::Perception::PerceptionOutput> lidar_per);
  13. double getCrashDis(double realSpeed,std::vector<Point2D> gpsTrace,iv::Perception::PerceptionOutput obs);
  14. int getFrameCount(double realSpeed,std::vector<Point2D> gpsTrace);
  15. int getPoiIndex(double realSpeed,std::vector<Point2D> gpsTrace , int frame);
  16. double getTime(double realSpeed,std::vector<Point2D> gpsTrace , int frame ,double *dis );
  17. }
  18. }
  19. #endif // OBS_PREDICT_H