22#include "modules/common_msgs/chassis_msgs/chassis.pb.h"
23#include "modules/common_msgs/control_msgs/control_cmd.pb.h"
24#include "modules/common_msgs/control_msgs/pad_msg.pb.h"
25#include "modules/common_msgs/localization_msgs/localization.pb.h"
26#include "modules/common_msgs/planning_msgs/planning.pb.h"
27#include "modules/control/control_component/proto/calibration_table.pb.h"
28#include "modules/control/control_component/proto/preprocessor.pb.h"
56 std::string
Name()
const;
70 bool Proc(
const std::shared_ptr<Preprocessor>& preprocessor_status)
override;
81 std::shared_ptr<ControlTask> mpc_controller_;
85 std::shared_ptr<cyber::Writer<ControlCommand>> control_core_writer_;
86 std::shared_ptr<DependencyInjector> injector_;
A general class to denote the return status of an API call.
MPCControllerSubmodule()
Construct a new MPCControllerSubmodule object
std::string Name() const
Get name of the node
bool Proc(const std::shared_ptr< Preprocessor > &preprocessor_status) override
generate control command
bool Init() override
Initialize the node
~MPCControllerSubmodule()
Destructor
#define CYBER_REGISTER_COMPONENT(name)
Defines the Controller base class.
The class of MonitorLogBuffer
LocalView contains all necessary data as planning input