25 #include "modules/canbus/proto/chassis.pb.h" 31 #include "modules/control/proto/control_cmd.pb.h" 32 #include "modules/control/proto/control_conf.pb.h" 33 #include "modules/control/proto/pad_msg.pb.h" 34 #include "modules/control/proto/preprocessor.pb.h" 35 #include "modules/localization/proto/localization.pb.h" 36 #include "modules/planning/proto/planning.pb.h" 56 std::string
Name()
const;
70 bool Proc(
const std::shared_ptr<Preprocessor>& preprocessor_status)
override;
74 const LocalView&
local_view, ControlCommand* control_core_command);
86 ControlConf lateral_controller_conf_;
87 ControlConf longitudinal_controller_conf_;
88 std::shared_ptr<cyber::Writer<ControlCommand>> control_core_writer_;
89 std::shared_ptr<DependencyInjector> injector_;
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
bool Proc(const std::shared_ptr< Preprocessor > &preprocessor_status) override
generate control command
LocalView contains all necessary data as planning input.
LatLonControllerSubmodule()
Construct a new PID+LQR ControllerSubmodule object.
CYBER_REGISTER_COMPONENT(PreprocessorSubmodule)
LQR-Based lateral controller, to compute steering target. For more details, please refer to "Vehicle ...
Definition: lat_controller.h:53
Definition: lat_lon_controller_submodule.h:40
Defines the LonController class.
Defines the Controller base class.
~LatLonControllerSubmodule()
Destructor.
Defines the LatController class.
The class of MonitorLogBuffer.
std::string Name() const
Get name of the node.
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
bool Init() override
Initialize the node.
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
Longitudinal controller, to compute brake / throttle values.
Definition: lon_controller.h:49