提交 eaf9f801 编写于 作者: K kechxu 提交者: Calvin Miao

set the framework for the rest of obstacle.cc

上级 3bb38f6c
......@@ -137,6 +137,11 @@ void Obstacle::Insert(const PerceptionObstacle& perception_obstacle,
InitKFMotionTracker(&feature);
}
UpdateKFMotionTracker(&feature);
SetCurrentLanes(&feature);
SetNearbyLanes(&feature);
UpdateKFLaneTrackers(&feature);
InsertFeatureToHistory(&feature);
SetMotionStatus();
}
ErrorCode Obstacle::SetId(const PerceptionObstacle& perception_obstacle,
......@@ -594,5 +599,21 @@ void Obstacle::UpdateLaneBelief(Feature* feature) {
<< " and tracked acc [" << lane_acc << "]";
}
void Obstacle::SetCurrentLanes(Feature* feature) {
// TODO(kechxu) implement
}
void Obstacle::SetNearbyLanes(Feature* feature) {
// TODO(kechxu) implement
}
void Obstacle::SetMotionStatus() {
// TODO(kechxu) implement
}
void Obstacle::InsertFeatureToHistory(Feature* feature) {
// TODO(kechxu) implement
}
} // namespace prediction
} // namespace apollo
......@@ -115,6 +115,14 @@ class Obstacle {
void UpdateLaneBelief(Feature* feature);
void SetCurrentLanes(Feature* feature);
void SetNearbyLanes(Feature* feature);
void SetMotionStatus();
void InsertFeatureToHistory(Feature* feature);
private:
int id_;
apollo::perception::PerceptionObstacle::Type type_;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册