Skip to content

Commit

Permalink
chore(behavior_path_planner): fix typo and remove unnecessary comment
Browse files Browse the repository at this point in the history
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
  • Loading branch information
kosuke55 committed Jul 4, 2023
1 parent ac29eb5 commit fa878d1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ bool GoalPlannerModule::isExecutionRequested() const
return lanelet::utils::isInLanelet(goal_pose, current_lane);
});

// check that goal is in current neghibor shoulder lane
// check that goal is in current neighbor shoulder lane
const bool goal_is_in_current_shoulder_lanes = std::invoke([&]() {
lanelet::ConstLanelet neighbor_shoulder_lane{};
for (const auto & lane : current_lanes) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ bool StartPlannerModule::isExecutionRequested() const
tier4_autoware_utils::pose2transform(planner_data_->self_odometry->pose.pose));

// Check if ego is not out of lanes
// const auto current_lanes = utils::getExtendedCurrentLanes(planner_data_);
const double backward_path_length =
planner_data_->parameters.backward_path_length + parameters_->max_back_distance;
const auto current_lanes =
Expand Down Expand Up @@ -310,7 +309,6 @@ BehaviorModuleOutput StartPlannerModule::planWaitingApproval()
return output;
}

// const auto current_lanes = utils::getExtendedCurrentLanes(planner_data_);
const double backward_path_length =
planner_data_->parameters.backward_path_length + parameters_->max_back_distance;
const auto current_lanes =
Expand Down

0 comments on commit fa878d1

Please sign in to comment.