26#include "modules/planning/traffic_rules/rerouting/proto/rerouting.pb.h"
39 bool Init(
const std::string& name,
40 const std::shared_ptr<DependencyInjector>& injector)
override;
45 reference_line_info_ =
nullptr;
51 bool ChangeLaneFailRerouting();
53 Frame* frame_ =
nullptr;
A general class to denote the return status of an API call.
Frame holds all data for one planning cycle.
ReferenceLineInfo holds all data for one reference line.
This class decides whether we should send rerouting request based on traffic situation.
virtual ~Rerouting()=default
common::Status ApplyRule(Frame *const frame, ReferenceLineInfo *const reference_line_info)
bool Init(const std::string &name, const std::shared_ptr< DependencyInjector > &injector) override
Planning module main class.
#define CYBER_PLUGIN_MANAGER_REGISTER_PLUGIN(name, base)