提交 a3863c45 编写于 作者: K kechxu 提交者: Jiangtao Hu

prediction module lint fix

上级 4e4c1b86
...@@ -100,7 +100,7 @@ void RegionalPredictor::GenerateStillTrajectory( ...@@ -100,7 +100,7 @@ void RegionalPredictor::GenerateStillTrajectory(
AERROR << "Missing position or velocity."; AERROR << "Missing position or velocity.";
return; return;
} }
Eigen::Vector2d position(feature.position().x(), feature.position().y()); Eigen::Vector2d position(feature.position().x(), feature.position().y());
double heading = 0.0 - M_PI; double heading = 0.0 - M_PI;
int num_traj = FLAGS_num_trajectory_still_pedestrian; int num_traj = FLAGS_num_trajectory_still_pedestrian;
...@@ -157,7 +157,7 @@ void RegionalPredictor::GenerateMovingTrajectory( ...@@ -157,7 +157,7 @@ void RegionalPredictor::GenerateMovingTrajectory(
obstacle->kf_pedestrian_tracker(), total_time, obstacle->kf_pedestrian_tracker(), total_time,
&left_points, &right_points); &left_points, &right_points);
int start_index = GetTrajectorySize(); int start_index = GetTrajectorySize();
Trajectory left_trajectory; Trajectory left_trajectory;
Trajectory right_trajectory; Trajectory right_trajectory;
GenerateTrajectory(left_points, &left_trajectory); GenerateTrajectory(left_points, &left_trajectory);
......
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
* limitations under the License. * limitations under the License.
*****************************************************************************/ *****************************************************************************/
#include <memory>
#include "modules/prediction/predictor/predictor_manager.h" #include "modules/prediction/predictor/predictor_manager.h"
#include "modules/prediction/predictor/vehicle/lane_sequence_predictor.h" #include "modules/prediction/predictor/vehicle/lane_sequence_predictor.h"
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
#define MODULES_PREDICTION_PREDICTOR_PREDICTOR_MANAGER_H_ #define MODULES_PREDICTION_PREDICTOR_PREDICTOR_MANAGER_H_
#include <unordered_map> #include <unordered_map>
#include <map>
#include <memory>
#include "modules/prediction/predictor/predictor.h" #include "modules/prediction/predictor/predictor.h"
#include "modules/perception/proto/perception_obstacle.pb.h" #include "modules/perception/proto/perception_obstacle.pb.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册