提交 4c60107c 编写于 作者: K kechxu 提交者: Kecheng Xu

Prediction: fix using in header file

上级 92c2d412
......@@ -40,8 +40,6 @@
namespace apollo {
namespace prediction {
using hdmap::LaneInfo;
/**
* @class Obstacle
* @brief Prediction obstacle.
......@@ -317,7 +315,7 @@ class Obstacle {
void DiscardOutdatedHistory();
void GetNeighborLaneSegments(
std::shared_ptr<const LaneInfo> center_lane_info,
std::shared_ptr<const apollo::hdmap::LaneInfo> center_lane_info,
bool is_left,
int recursion_depth,
std::list<std::string>* const lane_ids_ordered,
......
......@@ -35,6 +35,7 @@ using apollo::perception::PerceptionObstacle;
using common::adapter::AdapterConfig;
using common::math::Box2d;
using common::math::Vec2d;
using hdmap::LaneInfo;
namespace {
......
......@@ -47,13 +47,13 @@ class ObstaclesPrioritizer {
static void AssignCautionLevelByEgoReferenceLine();
static void AssignCautionByMerge(
std::shared_ptr<const LaneInfo> lane_info_ptr);
std::shared_ptr<const hdmap::LaneInfo> lane_info_ptr);
static void AssignCautionByOverlap(
std::shared_ptr<const LaneInfo> lane_info_ptr);
std::shared_ptr<const hdmap::LaneInfo> lane_info_ptr);
static void SetCautionBackward(
std::shared_ptr<const LaneInfo> start_lane_info_ptr,
std::shared_ptr<const hdmap::LaneInfo> start_lane_info_ptr,
const double distance);
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册