#include <third_party_perception_mobileye.h>
◆ ThirdPartyPerceptionMobileye() [1/2]
apollo::third_party_perception::ThirdPartyPerceptionMobileye::ThirdPartyPerceptionMobileye |
( |
apollo::cyber::Node *const |
node | ) |
|
|
explicit |
在文件 third_party_perception_mobileye.cc 第 34 行定义.
38 FLAGS_mobileye_topic,
39 [this](const std::shared_ptr<apollo::drivers::Mobileye>& message) {
41 });
43 FLAGS_delphi_esr_topic,
44 [this](const std::shared_ptr<apollo::drivers::DelphiESR>& message) {
46 });
47
49 FLAGS_conti_radar_topic,
50 [this](const std::shared_ptr<apollo::drivers::ContiRadar>& message) {
52 });
53}
void OnContiRadar(const apollo::drivers::ContiRadar &message)
void OnDelphiESR(const apollo::drivers::DelphiESR &message)
void OnMobileye(const apollo::drivers::Mobileye &message)
ThirdPartyPerception()=default
std::shared_ptr< apollo::cyber::Node > node_
◆ ThirdPartyPerceptionMobileye() [2/2]
apollo::third_party_perception::ThirdPartyPerceptionMobileye::ThirdPartyPerceptionMobileye |
( |
| ) |
|
|
default |
◆ ~ThirdPartyPerceptionMobileye()
apollo::third_party_perception::ThirdPartyPerceptionMobileye::~ThirdPartyPerceptionMobileye |
( |
| ) |
|
|
default |
◆ OnContiRadar()
在文件 third_party_perception_mobileye.cc 第 76 行定义.
76 {
77 ADEBUG <<
"Received delphi esr data: run continental radar callback.";
82 RadarObstacles filtered_radar_obstacles =
84 if (FLAGS_enable_radar) {
86 filtered_radar_obstacles);
87 }
88}
RadarObstacles current_radar_obstacles_
apollo::canbus::Chassis chassis_
std::mutex third_party_perception_mutex_
RadarObstacles last_radar_obstacles_
apollo::localization::LocalizationEstimate localization_
PerceptionObstacles RadarObstaclesToPerceptionObstacles(const RadarObstacles &radar_obstacles)
RadarObstacles ContiToRadarObstacles(const apollo::drivers::ContiRadar &conti_radar, const apollo::localization::LocalizationEstimate &localization, const RadarObstacles &last_radar_obstacles, const Chassis &chassis)
RadarObstacles FilterRadarObstacles(const RadarObstacles &radar_obstacles)
◆ OnDelphiESR()
在文件 third_party_perception_mobileye.cc 第 62 行定义.
62 {
63 ADEBUG <<
"Received delphi esr data: run delphi esr callback.";
68 RadarObstacles filtered_radar_obstacles =
70 if (FLAGS_enable_radar) {
72 filtered_radar_obstacles);
73 }
74}
RadarObstacles DelphiToRadarObstacles(const DelphiESR &delphi_esr, const LocalizationEstimate &localization, const RadarObstacles &last_radar_obstacles)
◆ OnMobileye()
在文件 third_party_perception_mobileye.cc 第 55 行定义.
55 {
56 ADEBUG <<
"Received mobileye data: run mobileye callback.";
60}
PerceptionObstacles MobileyeToPerceptionObstacles(const Mobileye &mobileye, const LocalizationEstimate &localization, const Chassis &chassis)
◆ Process()
重载 apollo::third_party_perception::ThirdPartyPerception .
在文件 third_party_perception_mobileye.cc 第 90 行定义.
91 {
92 ADEBUG <<
"Timer is triggered: publish PerceptionObstacles";
93 CHECK_NOTNULL(response);
94
96
98
99 common::util::FillHeader(FLAGS_third_party_perception_node_name, response);
100
101 eye_obstacles_.Clear();
102 radar_obstacles_.Clear();
103 return true;
104}
PerceptionObstacles EyeRadarFusion(const PerceptionObstacles &eye_obstacles, const PerceptionObstacles &radar_obstacles)
该类的文档由以下文件生成: