23 #include "modules/localization/proto/localization.pb.h" 29 #include "modules/perception/onboard/proto/radar_component_config.pb.h" 34 namespace perception {
37 using apollo::drivers::ContiRadar;
38 using apollo::localization::LocalizationEstimate;
44 tf_child_frame_id_(
""),
45 radar_forward_distance_(200.0),
46 preprocessor_method_(
""),
47 perception_method_(
""),
49 odometry_channel_name_(
""),
50 hdmap_input_(nullptr),
51 radar_preprocessor_(nullptr),
52 radar_perception_(nullptr) {}
56 bool Proc(
const std::shared_ptr<ContiRadar>& message)
override;
59 bool InitAlgorithmPlugin();
60 bool InternalProc(
const std::shared_ptr<ContiRadar>& in_message,
61 std::shared_ptr<SensorFrameMessage> out_message);
62 bool GetCarLocalizationSpeed(
double timestamp,
74 std::string tf_child_frame_id_;
75 double radar_forward_distance_;
76 std::string preprocessor_method_;
77 std::string perception_method_;
78 std::string pipeline_name_;
79 std::string odometry_channel_name_;
84 std::shared_ptr<radar::BasePreprocessor> radar_preprocessor_;
85 std::shared_ptr<radar::BaseRadarObstaclePerception> radar_perception_;
87 std::shared_ptr<apollo::cyber::Writer<SensorFrameMessage>> writer_;
Definition: radar_detection_component.h:40
Eigen::Vector3f Vector3f
Definition: base_map_fwd.h:29
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
~RadarDetectionComponent()=default
RadarDetectionComponent()
Definition: radar_detection_component.h:42
Definition: sensor_meta.h:57
bool Proc(const std::shared_ptr< ContiRadar > &message) override
The Component can process up to four channels of messages. The message type is specified when the com...
Definition: component.h:58
CYBER_REGISTER_COMPONENT(CameraObstacleDetectionComponent)