|
Apollo 11.0
自动驾驶开放平台
|
#include <semantic_decision.h>
Public 成员函数 | |
| SemanticReviser () | |
| Construct a new semantic reviser object. | |
| ~SemanticReviser ()=default | |
| Destroy the semantic reviser object. | |
| bool | Init (const TrafficLightTrackerInitOptions &options=TrafficLightTrackerInitOptions()) override |
| Initialize semantic reviser parameters. | |
| bool | Track (camera::TrafficLightFrame *frame) override |
| Track detected traffic_light. | |
| base::TLColor | ReviseBySemantic (SemanticTable semantic_table, std::vector< base::TrafficLightPtr > *lights) |
| Correction based on semantic information. | |
| void | ReviseByTimeSeries (double time_stamp, SemanticTable semantic_table, std::vector< base::TrafficLightPtr > *lights) |
| Correction based on timeseries information. | |
| void | UpdateHistoryAndLights (const SemanticTable &cur, std::vector< base::TrafficLightPtr > *lights, std::vector< SemanticTable >::iterator *history) |
| Update the traffic light history information. | |
| void | ReviseLights (std::vector< base::TrafficLightPtr > *lights, const std::vector< int > &light_ids, base::TLColor dst_color) |
| Revise and tracking traffic light. | |
Public 成员函数 继承自 apollo::perception::trafficlight::BaseTrafficLightTracker | |
| BaseTrafficLightTracker ()=default | |
| Construct a new base traffic light tracker object. | |
| virtual | ~BaseTrafficLightTracker ()=default |
| Destroy the base traffic light tracker object. | |
| DISALLOW_COPY_AND_ASSIGN (BaseTrafficLightTracker) | |
在文件 semantic_decision.h 第 47 行定义.
| apollo::perception::trafficlight::SemanticReviser::SemanticReviser | ( | ) |
Construct a new semantic reviser object.
在文件 semantic_decision.cc 第 40 行定义.
|
default |
Destroy the semantic reviser object.
|
overridevirtual |
Initialize semantic reviser parameters.
| options |
实现了 apollo::perception::trafficlight::BaseTrafficLightTracker.
在文件 semantic_decision.cc 第 46 行定义.
| base::TLColor apollo::perception::trafficlight::SemanticReviser::ReviseBySemantic | ( | SemanticTable | semantic_table, |
| std::vector< base::TrafficLightPtr > * | lights | ||
| ) |
Correction based on semantic information.
| semantic_table | |
| lights |
在文件 semantic_decision.cc 第 96 行定义.
| void apollo::perception::trafficlight::SemanticReviser::ReviseByTimeSeries | ( | double | time_stamp, |
| SemanticTable | semantic_table, | ||
| std::vector< base::TrafficLightPtr > * | lights | ||
| ) |
Correction based on timeseries information.
| time_stamp | |
| semantic_table | |
| lights |
在文件 semantic_decision.cc 第 151 行定义.
| void apollo::perception::trafficlight::SemanticReviser::ReviseLights | ( | std::vector< base::TrafficLightPtr > * | lights, |
| const std::vector< int > & | light_ids, | ||
| base::TLColor | dst_color | ||
| ) |
Revise and tracking traffic light.
| lights | |
| light_ids | |
| dst_color |
在文件 semantic_decision.cc 第 140 行定义.
|
overridevirtual |
Track detected traffic_light.
| frame |
实现了 apollo::perception::trafficlight::BaseTrafficLightTracker.
在文件 semantic_decision.cc 第 239 行定义.
| void apollo::perception::trafficlight::SemanticReviser::UpdateHistoryAndLights | ( | const SemanticTable & | cur, |
| std::vector< base::TrafficLightPtr > * | lights, | ||
| std::vector< SemanticTable >::iterator * | history | ||
| ) |
Update the traffic light history information.
| cur | |
| lights | |
| history |
在文件 semantic_decision.cc 第 69 行定义.