28#include "modules/common_msgs/config_msgs/vehicle_config.pb.h"
29#include "modules/control/control_component/proto/control_debug.pb.h"
97 std::string
Name()
const override;
103 void PublishDebugInfoThreadFunc();
106 std::unique_ptr<::apollo::cyber::Node> node_ =
nullptr;
107 std::shared_ptr<cyber::Writer<::apollo::control::ControlDebugInfo>> control_debug_info_writer_;
A general class to denote the return status of an API call.
Publish the control debug msg.
common::Status Reset() override
reset demo control task
void Stop() override
stop DebugInfoControlTask
virtual ~DebugInfoControlTask()=default
destructor
std::shared_ptr< DependencyInjector > injector_
common::Status Init(std::shared_ptr< DependencyInjector > injector) override
initialize DebugInfoControlTask
std::string Name() const override
DebugInfoControlTask name
DebugInfoControlTask()
constructor
common::Status ComputeControlCommand(const localization::LocalizationEstimate *localization, const canbus::Chassis *chassis, const planning::ADCTrajectory *trajectory, control::ControlCommand *cmd) override
compute brake / throttle values based on current vehicle status and target trajectory
Defines the Controller base class.
#define CYBER_PLUGIN_MANAGER_REGISTER_PLUGIN(name, base)
Some string util functions.