32 #include "modules/storytelling/proto/story.pb.h" 39 namespace prediction {
53 std::string
Name()
const;
65 bool Proc(
const std::shared_ptr<perception::PerceptionObstacles>&)
override;
74 bool ContainerSubmoduleProcess(
75 const std::shared_ptr<perception::PerceptionObstacles>&);
77 bool PredictionEndToEndProc(
78 const std::shared_ptr<perception::PerceptionObstacles>&);
80 double component_start_time_ = 0.0;
82 double frame_start_time_ = 0.0;
84 std::shared_ptr<cyber::Reader<planning::ADCTrajectory>> planning_reader_;
86 std::shared_ptr<cyber::Reader<localization::LocalizationEstimate>>
89 std::shared_ptr<cyber::Reader<storytelling::Stories>> storytelling_reader_;
91 std::shared_ptr<cyber::Writer<PredictionObstacles>> prediction_writer_;
93 std::shared_ptr<cyber::Writer<SubmoduleOutput>> container_writer_;
95 std::shared_ptr<cyber::Writer<ADCTrajectoryContainer>> adc_container_writer_;
97 std::shared_ptr<cyber::Writer<perception::PerceptionObstacles>>
98 perception_obstacles_writer_;
100 std::shared_ptr<ContainerManager> container_manager_;
102 std::unique_ptr<EvaluatorManager> evaluator_manager_;
104 std::unique_ptr<PredictorManager> predictor_manager_;
106 std::unique_ptr<ScenarioManager> scenario_manager_;
std::string Name() const
Get name of the node.
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
ADC trajectory container.
~PredictionComponent()
Destructor.
Output information of prediction container submodule.
Definition: prediction_component.h:41
#define CYBER_REGISTER_COMPONENT(name)
Definition: component.h:551
bool Proc(const std::shared_ptr< perception::PerceptionObstacles > &) override
Data callback upon receiving a perception obstacle message.
void OfflineProcessFeatureProtoFile(const std::string &features_proto_file)
Load and process feature proto file.
bool Init() override
Initialize the node.
The Component can process up to four channels of messages. The message type is specified when the com...
Definition: component.h:58