From a3863c453bbc3c1724df2299017862a32e65acd1 Mon Sep 17 00:00:00 2001 From: kechxu Date: Thu, 27 Jul 2017 13:04:06 -0700 Subject: [PATCH] prediction module lint fix --- modules/prediction/predictor/pedestrian/regional_predictor.cc | 4 ++-- modules/prediction/predictor/predictor_manager.cc | 2 ++ modules/prediction/predictor/predictor_manager.h | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/prediction/predictor/pedestrian/regional_predictor.cc b/modules/prediction/predictor/pedestrian/regional_predictor.cc index 75c435bdea..7f838a435d 100644 --- a/modules/prediction/predictor/pedestrian/regional_predictor.cc +++ b/modules/prediction/predictor/pedestrian/regional_predictor.cc @@ -100,7 +100,7 @@ void RegionalPredictor::GenerateStillTrajectory( AERROR << "Missing position or velocity."; return; } - + Eigen::Vector2d position(feature.position().x(), feature.position().y()); double heading = 0.0 - M_PI; int num_traj = FLAGS_num_trajectory_still_pedestrian; @@ -157,7 +157,7 @@ void RegionalPredictor::GenerateMovingTrajectory( obstacle->kf_pedestrian_tracker(), total_time, &left_points, &right_points); int start_index = GetTrajectorySize(); - + Trajectory left_trajectory; Trajectory right_trajectory; GenerateTrajectory(left_points, &left_trajectory); diff --git a/modules/prediction/predictor/predictor_manager.cc b/modules/prediction/predictor/predictor_manager.cc index 4c0e6bffd1..ff5236b5cc 100644 --- a/modules/prediction/predictor/predictor_manager.cc +++ b/modules/prediction/predictor/predictor_manager.cc @@ -14,6 +14,8 @@ * limitations under the License. *****************************************************************************/ +#include + #include "modules/prediction/predictor/predictor_manager.h" #include "modules/prediction/predictor/vehicle/lane_sequence_predictor.h" diff --git a/modules/prediction/predictor/predictor_manager.h b/modules/prediction/predictor/predictor_manager.h index c867415c55..40fa3e0179 100644 --- a/modules/prediction/predictor/predictor_manager.h +++ b/modules/prediction/predictor/predictor_manager.h @@ -23,6 +23,8 @@ #define MODULES_PREDICTION_PREDICTOR_PREDICTOR_MANAGER_H_ #include +#include +#include #include "modules/prediction/predictor/predictor.h" #include "modules/perception/proto/perception_obstacle.pb.h" -- GitLab