Apollo 10.0
自动驾驶开放平台
|
#include <obstacles_container.h>
Public 成员函数 | |
ObstaclesContainer () | |
Constructor | |
ObstaclesContainer (const SubmoduleOutput &submodule_output) | |
Constructor from container output | |
virtual | ~ObstaclesContainer ()=default |
Destructor | |
void | Insert (const ::google::protobuf::Message &message) override |
Insert a data message into the container | |
void | InsertPerceptionObstacle (const perception::PerceptionObstacle &perception_obstacle, const double timestamp) |
Insert an perception obstacle | |
void | InsertFeatureProto (const Feature &feature) |
Insert a feature proto message into the container | |
void | BuildLaneGraph () |
Build lane graph for obstacles | |
void | BuildJunctionFeature () |
Build junction feature for obstacles | |
Obstacle * | GetObstacle (const int id) |
Get obstacle pointer | |
void | Clear () |
Clear obstacle container | |
void | CleanUp () |
size_t | NumOfObstacles () |
const apollo::perception::PerceptionObstacle & | GetPerceptionObstacle (const int id) |
const std::vector< int > & | curr_frame_movable_obstacle_ids () |
Get movable obstacle IDs in the current frame | |
const std::vector< int > & | curr_frame_unmovable_obstacle_ids () |
Get unmovable obstacle IDs in the current frame | |
const std::vector< int > & | curr_frame_considered_obstacle_ids () |
Get non-ignore obstacle IDs in the current frame | |
void | SetConsideredObstacleIds () |
std::vector< int > | curr_frame_obstacle_ids () |
Get current frame obstacle IDs in the current frame | |
double | timestamp () const |
SubmoduleOutput | GetSubmoduleOutput (const size_t history_size, const apollo::cyber::Time &frame_start_time) |
const Scenario & | curr_scenario () const |
Get current scenario | |
ObstacleClusters * | GetClustersPtr () const |
Get the raw pointer of clusters_ | |
JunctionAnalyzer * | GetJunctionAnalyzer () |
![]() | |
Container ()=default | |
Constructor | |
virtual | ~Container ()=default |
Destructor | |
在文件 obstacles_container.h 第 39 行定义.
apollo::prediction::ObstaclesContainer::ObstaclesContainer | ( | ) |
Constructor
在文件 obstacles_container.cc 第 35 行定义.
|
explicit |
Constructor from container output
在文件 obstacles_container.cc 第 39 行定义.
|
virtualdefault |
Destructor
void apollo::prediction::ObstaclesContainer::BuildJunctionFeature | ( | ) |
Build junction feature for obstacles
在文件 obstacles_container.cc 第 312 行定义.
void apollo::prediction::ObstaclesContainer::BuildLaneGraph | ( | ) |
Build lane graph for obstacles
在文件 obstacles_container.cc 第 281 行定义.
void apollo::prediction::ObstaclesContainer::CleanUp | ( | ) |
在文件 obstacles_container.cc 第 64 行定义.
void apollo::prediction::ObstaclesContainer::Clear | ( | ) |
Clear obstacle container
在文件 obstacles_container.cc 第 177 行定义.
const std::vector< int > & apollo::prediction::ObstaclesContainer::curr_frame_considered_obstacle_ids | ( | ) |
Get non-ignore obstacle IDs in the current frame
在文件 obstacles_container.cc 第 192 行定义.
const std::vector< int > & apollo::prediction::ObstaclesContainer::curr_frame_movable_obstacle_ids | ( | ) |
Get movable obstacle IDs in the current frame
在文件 obstacles_container.cc 第 182 行定义.
std::vector< int > apollo::prediction::ObstaclesContainer::curr_frame_obstacle_ids | ( | ) |
Get current frame obstacle IDs in the current frame
在文件 obstacles_container.cc 第 212 行定义.
const std::vector< int > & apollo::prediction::ObstaclesContainer::curr_frame_unmovable_obstacle_ids | ( | ) |
Get unmovable obstacle IDs in the current frame
在文件 obstacles_container.cc 第 187 行定义.
const Scenario & apollo::prediction::ObstaclesContainer::curr_scenario | ( | ) | const |
ObstacleClusters * apollo::prediction::ObstaclesContainer::GetClustersPtr | ( | ) | const |
Get the raw pointer of clusters_
在文件 obstacles_container.cc 第 375 行定义.
JunctionAnalyzer * apollo::prediction::ObstaclesContainer::GetJunctionAnalyzer | ( | ) |
在文件 obstacles_container.cc 第 378 行定义.
Obstacle * apollo::prediction::ObstaclesContainer::GetObstacle | ( | const int | id | ) |
Get obstacle pointer
Obstacle | ID |
在文件 obstacles_container.cc 第 161 行定义.
const apollo::perception::PerceptionObstacle & apollo::prediction::ObstaclesContainer::GetPerceptionObstacle | ( | const int | id | ) |
SubmoduleOutput apollo::prediction::ObstaclesContainer::GetSubmoduleOutput | ( | const size_t | history_size, |
const apollo::cyber::Time & | frame_start_time | ||
) |
在文件 obstacles_container.cc 第 341 行定义.
|
overridevirtual |
Insert a data message into the container
Data | message to be inserted in protobuf |
实现了 apollo::prediction::Container.
在文件 obstacles_container.cc 第 73 行定义.
void apollo::prediction::ObstaclesContainer::InsertFeatureProto | ( | const Feature & | feature | ) |
Insert a feature proto message into the container
feature | proto message |
在文件 obstacles_container.cc 第 261 行定义.
void apollo::prediction::ObstaclesContainer::InsertPerceptionObstacle | ( | const perception::PerceptionObstacle & | perception_obstacle, |
const double | timestamp | ||
) |
Insert an perception obstacle
Perception | obstacle Timestamp |
在文件 obstacles_container.cc 第 220 行定义.
|
inline |
在文件 obstacles_container.h 第 101 行定义.
void apollo::prediction::ObstaclesContainer::SetConsideredObstacleIds | ( | ) |
在文件 obstacles_container.cc 第 196 行定义.
double apollo::prediction::ObstaclesContainer::timestamp | ( | ) | const |
在文件 obstacles_container.cc 第 339 行定义.