12345678910111213141516171819202122 |
- #ifndef OBS_PREDICT_H
- #define OBS_PREDICT_H
- #include <gps_type.h>
- #include <obstacle_type.h>
- #include <decition_type.h>
- #include <vector>
- //#include <decision/decide_gps_00.h>
- #include "common/perceptionoutput.h"
- namespace iv {
- namespace decition {
- //根据传感器传输来的信息作出决策
- double PredictObsDistance(double realSpeed,std::vector<Point2D> gpsTrace,std::vector<iv::Perception::PerceptionOutput> lidar_per);
- double getCrashDis(double realSpeed,std::vector<Point2D> gpsTrace,iv::Perception::PerceptionOutput obs);
- int getFrameCount(double realSpeed,std::vector<Point2D> gpsTrace);
- int getPoiIndex(double realSpeed,std::vector<Point2D> gpsTrace , int frame);
- double getTime(double realSpeed,std::vector<Point2D> gpsTrace , int frame ,double *dis );
- }
- }
- #endif // OBS_PREDICT_H
|