Apollo
6.0
Open source self driving car software
|
#include <prediction_component.h>
Public Member Functions | |
~PredictionComponent () | |
Destructor. More... | |
std::string | Name () const |
Get name of the node. More... | |
bool | Init () override |
Initialize the node. More... | |
bool | Proc (const std::shared_ptr< perception::PerceptionObstacles > &) override |
Data callback upon receiving a perception obstacle message. More... | |
void | OfflineProcessFeatureProtoFile (const std::string &features_proto_file) |
Load and process feature proto file. More... | |
![]() | |
Component () | |
~Component () override | |
bool | Initialize (const ComponentConfig &config) override |
init the component by protobuf object. More... | |
bool | Process (const std::shared_ptr< perception::PerceptionObstacles > &msg0, const std::shared_ptr< NullType > &msg1, const std::shared_ptr< NullType > &msg2, const std::shared_ptr< NullType > &msg3) |
![]() | |
virtual | ~ComponentBase () |
virtual bool | Initialize (const TimerComponentConfig &config) |
virtual void | Shutdown () |
template<typename T > | |
bool | GetProtoConfig (T *config) const |
Additional Inherited Members | |
![]() | |
template<typename M > | |
using | Reader = cyber::Reader< M > |
![]() | |
virtual void | Clear () |
const std::string & | ConfigFilePath () const |
void | LoadConfigFiles (const ComponentConfig &config) |
void | LoadConfigFiles (const TimerComponentConfig &config) |
![]() | |
std::atomic< bool > | is_shutdown_ = {false} |
std::shared_ptr< Node > | node_ = nullptr |
std::string | config_file_path_ = "" |
std::vector< std::shared_ptr< ReaderBase > > | readers_ |
apollo::prediction::PredictionComponent::~PredictionComponent | ( | ) |
Destructor.
|
overridevirtual |
std::string apollo::prediction::PredictionComponent::Name | ( | ) | const |
Get name of the node.
void apollo::prediction::PredictionComponent::OfflineProcessFeatureProtoFile | ( | const std::string & | features_proto_file | ) |
Load and process feature proto file.
a | bin file including a sequence of feature proto. |
|
override |
Data callback upon receiving a perception obstacle message.
Perception | obstacle message. |