Skip to content

Commit

Permalink
refactor(goal_planner): refactoring plan flow and add post process
Browse files Browse the repository at this point in the history
Signed-off-by: kosuke55 <[email protected]>

do not decel when searching

Signed-off-by: kosuke55 <[email protected]>

rename planPullOver

Signed-off-by: kosuke55 <[email protected]>
  • Loading branch information
kosuke55 committed Nov 14, 2023
1 parent 6e6cb40 commit e1d18df
Show file tree
Hide file tree
Showing 2 changed files with 129 additions and 148 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,18 +287,19 @@ class GoalPlannerModule : public SceneModuleInterface
}
}

CandidateOutput planCandidate() const override;
BehaviorModuleOutput plan() override;
BehaviorModuleOutput planWaitingApproval() override;
bool isExecutionRequested() const override;
bool isExecutionReady() const override;
void processOnExit() override;
void updateData() override;
void postProcess() override;
void setParameters(const std::shared_ptr<GoalPlannerParameters> & parameters);
void acceptVisitor(
[[maybe_unused]] const std::shared_ptr<SceneModuleVisitor> & visitor) const override
{
}
CandidateOutput planCandidate() const override { return CandidateOutput{}; }

private:
// The start_planner activates when it receives a new route,
Expand Down Expand Up @@ -411,8 +412,9 @@ class GoalPlannerModule : public SceneModuleInterface
void returnToLaneParking();

// plan pull over path
BehaviorModuleOutput planWithGoalModification();
BehaviorModuleOutput planWaitingApprovalWithGoalModification();
BehaviorModuleOutput planPullOver();
BehaviorModuleOutput planPullOverAsOutput();
BehaviorModuleOutput planPullOverAsCandidate();
void selectSafePullOverPath();
std::vector<PullOverPath> sortPullOverPathCandidatesByGoalPriority(
const std::vector<PullOverPath> & pull_over_path_candidates,
Expand Down
Loading

0 comments on commit e1d18df

Please sign in to comment.