25 #include "modules/canbus/proto/chassis.pb.h" 30 #include "modules/control/proto/control_cmd.pb.h" 31 #include "modules/control/proto/control_common_conf.pb.h" 32 #include "modules/control/proto/pad_msg.pb.h" 33 #include "modules/control/proto/preprocessor.pb.h" 34 #include "modules/localization/proto/localization.pb.h" 35 #include "modules/planning/proto/planning.pb.h" 55 std::string
Name()
const;
82 common::Status ProducePreprocessorStatus(Preprocessor *preprocessor_status);
85 double init_time_ = 0.0;
91 common::Header latest_replan_trajectory_header_;
95 std::shared_ptr<cyber::Reader<LocalView>> local_view_reader_;
97 std::shared_ptr<cyber::Writer<Preprocessor>> preprocessor_writer_;
99 ControlCommonConf control_common_conf_;
101 std::shared_ptr<DependencyInjector> injector_;
bool Init() override
Initialize the submodule.
Definition: preprocessor_submodule.h:40
~PreprocessorSubmodule()
Destructor.
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
LocalView contains all necessary data as planning input.
CYBER_REGISTER_COMPONENT(PreprocessorSubmodule)
bool Proc(const std::shared_ptr< LocalView > &local_view) override
PreprocessorSubmodule()
Construct a new Preprocessor Submodule object.
The class of MonitorLogBuffer.
A general class to denote the return status of an API call. It can either be an OK status for success...
Definition: status.h:43
This class help collect MonitorMessage pb to monitor topic. The messages can be published automatical...
Definition: monitor_log_buffer.h:60
std::string Name() const
Get name of the node.
The Component can process up to four channels of messages. The message type is specified when the com...
Definition: component.h:58