Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::planning::LatticePlanner Class Reference

#include <lattice_planner.h>

Inheritance diagram for apollo::planning::LatticePlanner:
Inheritance graph
Collaboration diagram for apollo::planning::LatticePlanner:
Collaboration graph

Public Member Functions

 LatticePlanner ()=delete
 
 LatticePlanner (const std::shared_ptr< DependencyInjector > &injector)
 
virtual ~LatticePlanner ()=default
 
std::string Name () override
 
common::Status Init (const PlanningConfig &config) override
 
void Stop () override
 
common::Status Plan (const common::TrajectoryPoint &planning_init_point, Frame *frame, ADCTrajectory *ptr_computed_trajectory) override
 Override function Plan in parent class Planner. More...
 
common::Status PlanOnReferenceLine (const common::TrajectoryPoint &planning_init_point, Frame *frame, ReferenceLineInfo *reference_line_info) override
 Override function Plan in parent class Planner. More...
 
- Public Member Functions inherited from apollo::planning::PlannerWithReferenceLine
 PlannerWithReferenceLine ()=delete
 Constructor. More...
 
 PlannerWithReferenceLine (const std::shared_ptr< DependencyInjector > &injector)
 
virtual ~PlannerWithReferenceLine ()=default
 Destructor. More...
 
- Public Member Functions inherited from apollo::planning::Planner
 Planner ()=delete
 Constructor. More...
 
 Planner (const std::shared_ptr< DependencyInjector > &injector)
 
virtual ~Planner ()=default
 Destructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from apollo::planning::Planner
PlanningConfig config_
 
scenario::ScenarioManager scenario_manager_
 
scenario::Scenarioscenario_ = nullptr
 

Constructor & Destructor Documentation

◆ LatticePlanner() [1/2]

apollo::planning::LatticePlanner::LatticePlanner ( )
delete

◆ LatticePlanner() [2/2]

apollo::planning::LatticePlanner::LatticePlanner ( const std::shared_ptr< DependencyInjector > &  injector)
inlineexplicit

◆ ~LatticePlanner()

virtual apollo::planning::LatticePlanner::~LatticePlanner ( )
virtualdefault

Member Function Documentation

◆ Init()

common::Status apollo::planning::LatticePlanner::Init ( const PlanningConfig &  config)
inlineoverridevirtual

◆ Name()

std::string apollo::planning::LatticePlanner::Name ( )
inlineoverridevirtual

◆ Plan()

common::Status apollo::planning::LatticePlanner::Plan ( const common::TrajectoryPoint &  planning_init_point,
Frame frame,
ADCTrajectory *  ptr_computed_trajectory 
)
overridevirtual

Override function Plan in parent class Planner.

Parameters
planning_init_pointThe trajectory point where planning starts.
frameCurrent planning frame.
Returns
OK if planning succeeds; error otherwise.

Implements apollo::planning::Planner.

◆ PlanOnReferenceLine()

common::Status apollo::planning::LatticePlanner::PlanOnReferenceLine ( const common::TrajectoryPoint &  planning_init_point,
Frame frame,
ReferenceLineInfo reference_line_info 
)
overridevirtual

Override function Plan in parent class Planner.

Parameters
planning_init_pointThe trajectory point where planning starts.
frameCurrent planning frame.
reference_line_infoThe computed reference line.
Returns
OK if planning succeeds; error otherwise.

Reimplemented from apollo::planning::PlannerWithReferenceLine.

◆ Stop()

void apollo::planning::LatticePlanner::Stop ( void  )
inlineoverridevirtual

The documentation for this class was generated from the following file: