RTKReplayPlanner is a derived class of Planner. It reads a recorded trajectory from a trajectory file and outputs proper segment of the trajectory according to vehicle position.
More...
#include <rtk_replay_planner.h>
RTKReplayPlanner is a derived class of Planner. It reads a recorded trajectory from a trajectory file and outputs proper segment of the trajectory according to vehicle position.
◆ RTKReplayPlanner()
apollo::planning::RTKReplayPlanner::RTKReplayPlanner |
( |
const std::shared_ptr< DependencyInjector > & |
injector | ) |
|
|
explicit |
◆ ~RTKReplayPlanner()
virtual apollo::planning::RTKReplayPlanner::~RTKReplayPlanner |
( |
| ) |
|
|
virtualdefault |
◆ Init()
◆ Name()
std::string apollo::planning::RTKReplayPlanner::Name |
( |
| ) |
|
|
inlineoverridevirtual |
◆ Plan()
apollo::common::Status apollo::planning::RTKReplayPlanner::Plan |
( |
const common::TrajectoryPoint & |
planning_init_point, |
|
|
Frame * |
frame, |
|
|
ADCTrajectory * |
ptr_computed_trajectory |
|
) |
| |
|
overridevirtual |
Override function Plan in parent class Planner.
- Parameters
-
planning_init_point | The trajectory point where planning starts. |
frame | Current planning frame. |
- Returns
- OK if planning succeeds; error otherwise.
Implements apollo::planning::Planner.
◆ PlanOnReferenceLine()
Override function Plan in parent class Planner.
- Parameters
-
planning_init_point | The trajectory point where planning starts. |
frame | Current planning frame. |
reference_line_info | The computed reference line. |
- Returns
- OK if planning succeeds; error otherwise.
Reimplemented from apollo::planning::PlannerWithReferenceLine.
◆ ReadTrajectoryFile()
void apollo::planning::RTKReplayPlanner::ReadTrajectoryFile |
( |
const std::string & |
filename | ) |
|
Read the recorded trajectory file.
- Parameters
-
filename | The name of the trajectory file. |
◆ Stop()
void apollo::planning::RTKReplayPlanner::Stop |
( |
void |
| ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: