33#include "modules/common_msgs/prediction_msgs/prediction_obstacle.pb.h"
60 void Insert(const ::google::protobuf::Message& message)
override;
152 Obstacle* GetObstacleWithLRUUpdate(
const int obstacle_id);
162 double timestamp_ = -1.0;
164 std::vector<int> curr_frame_movable_obstacle_ids_;
165 std::vector<int> curr_frame_unmovable_obstacle_ids_;
166 std::vector<int> curr_frame_considered_obstacle_ids_;
168 std::unique_ptr<ObstacleClusters> clusters_;
Cyber has builtin time type Time.
SubmoduleOutput GetSubmoduleOutput(const size_t history_size, const apollo::cyber::Time &frame_start_time)
JunctionAnalyzer * GetJunctionAnalyzer()
void Clear()
Clear obstacle container
ObstacleClusters * GetClustersPtr() const
Get the raw pointer of clusters_
void SetConsideredObstacleIds()
virtual ~ObstaclesContainer()=default
Destructor
const std::vector< int > & curr_frame_movable_obstacle_ids()
Get movable obstacle IDs in the current frame
void Insert(const ::google::protobuf::Message &message) override
Insert a data message into the container
const std::vector< int > & curr_frame_unmovable_obstacle_ids()
Get unmovable obstacle IDs in the current frame
const apollo::perception::PerceptionObstacle & GetPerceptionObstacle(const int id)
const std::vector< int > & curr_frame_considered_obstacle_ids()
Get non-ignore obstacle IDs in the current frame
const Scenario & curr_scenario() const
Get current scenario
void BuildLaneGraph()
Build lane graph for obstacles
Obstacle * GetObstacle(const int id)
Get obstacle pointer
std::vector< int > curr_frame_obstacle_ids()
Get current frame obstacle IDs in the current frame
void BuildJunctionFeature()
Build junction feature for obstacles
ObstaclesContainer()
Constructor
void InsertFeatureProto(const Feature &feature)
Insert a feature proto message into the container
void InsertPerceptionObstacle(const perception::PerceptionObstacle &perception_obstacle, const double timestamp)
Insert an perception obstacle
Define the data container base class
Output information of prediction container submodule