#include <traffic_light_region_proposal_component.h>
◆ TrafficLightsPerceptionComponent() [1/2]
| apollo::perception::trafficlight::TrafficLightsPerceptionComponent::TrafficLightsPerceptionComponent |
( |
| ) |
|
|
default |
Construct a new traffic lights perception component object.
◆ ~TrafficLightsPerceptionComponent()
| apollo::perception::trafficlight::TrafficLightsPerceptionComponent::~TrafficLightsPerceptionComponent |
( |
| ) |
|
|
default |
Destroy the traffic lights perception component object.
◆ TrafficLightsPerceptionComponent() [2/2]
◆ Init()
| bool apollo::perception::trafficlight::TrafficLightsPerceptionComponent::Init |
( |
| ) |
|
|
overridevirtual |
Initialize configuration files, algorithm plug-ins, callback functions and create listening channels.
- 返回
- true
-
false
实现了 apollo::cyber::ComponentBase.
在文件 traffic_light_region_proposal_component.cc 第 47 行定义.
47 {
49 AERROR <<
"TrafficLightsPerceptionComponent InitConfig failed.";
50 return false;
51 }
52
54 AERROR <<
"TrafficLightsPerceptionComponent InitAlgorithmPlugin failed.";
55 return false;
56 }
57
59 AERROR <<
"TrafficLightsPerceptionComponent InitCameraFrame failed.";
60 return false;
61 }
62
64 AERROR <<
"TrafficLightsPerceptionComponent InitCameraListeners failed.";
65 return false;
66 }
67
68 return true;
69}
◆ operator=()
该类的文档由以下文件生成: