25 #include "modules/canbus/proto/chassis.pb.h" 31 #include "modules/control/proto/calibration_table.pb.h" 32 #include "modules/control/proto/control_cmd.pb.h" 33 #include "modules/control/proto/control_conf.pb.h" 34 #include "modules/control/proto/pad_msg.pb.h" 35 #include "modules/control/proto/preprocessor.pb.h" 36 #include "modules/localization/proto/localization.pb.h" 37 #include "modules/planning/proto/planning.pb.h" 57 std::string
Name()
const;
71 bool Proc(
const std::shared_ptr<Preprocessor>& preprocessor_status)
override;
75 const LocalView&
local_view, ControlCommand* control_core_command);
86 ControlConf mpc_controller_conf_;
87 std::shared_ptr<cyber::Writer<ControlCommand>> control_core_writer_;
88 std::shared_ptr<DependencyInjector> injector_;
MPCControllerSubmodule()
Construct a new MPCControllerSubmodule object.
MPCController, combined lateral and longitudinal controllers.
Definition: mpc_controller.h:51
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.
bool Init() override
Initialize the node.
CYBER_REGISTER_COMPONENT(PreprocessorSubmodule)
bool Proc(const std::shared_ptr< Preprocessor > &preprocessor_status) override
generate control command
Defines the MPCController class.
~MPCControllerSubmodule()
Destructor.
Definition: mpc_controller_submodule.h:41
Defines the Controller base class.
std::string Name() const
Get name of the node.
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
The Component can process up to four channels of messages. The message type is specified when the com...
Definition: component.h:58