Skip to content

Commit

Permalink
refactor(behavior_path_planner): delete unnecessary TODO (autowarefou…
Browse files Browse the repository at this point in the history
…ndation#5806)

delete unnecessary TODO

Signed-off-by: kyoichi-sugahara <[email protected]>
  • Loading branch information
kyoichi-sugahara authored and karishma1911 committed May 28, 2024
1 parent c227db0 commit 53a4ec6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,6 @@ void GoalPlannerModule::updateSteeringFactor(
return SteeringFactor::STRAIGHT;
});

// TODO(tkhmy) add handle status TRYING
steering_factor_interface_ptr_->updateSteeringFactor(
pose, distance, PlanningBehavior::GOAL_PLANNER, steering_factor_direction, type, "");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,6 @@ void LaneChangeInterface::updateSteeringFactorPtr(const BehaviorModuleOutput & o
const auto finish_distance = motion_utils::calcSignedArcLength(
output.path->points, current_position, status.lane_change_path.info.shift_line.end.position);

// TODO(tkhmy) add handle status TRYING
steering_factor_interface_ptr_->updateSteeringFactor(
{status.lane_change_path.info.shift_line.start, status.lane_change_path.info.shift_line.end},
{start_distance, finish_distance}, PlanningBehavior::LANE_CHANGE, steering_factor_direction,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,6 @@ BehaviorModuleOutput StartPlannerModule::plan()
path.points, planner_data_->self_odometry->pose.pose.position,
status_.pull_out_path.end_pose.position);
updateRTCStatus(start_distance, finish_distance);
// TODO(tkhmy) add handle status TRYING
steering_factor_interface_ptr_->updateSteeringFactor(
{status_.pull_out_path.start_pose, status_.pull_out_path.end_pose},
{start_distance, finish_distance}, PlanningBehavior::START_PLANNER, steering_factor_direction,
Expand All @@ -437,7 +436,6 @@ BehaviorModuleOutput StartPlannerModule::plan()
path.points, planner_data_->self_odometry->pose.pose.position,
status_.pull_out_path.start_pose.position);
updateRTCStatus(0.0, distance);
// TODO(tkhmy) add handle status TRYING
steering_factor_interface_ptr_->updateSteeringFactor(
{status_.pull_out_path.start_pose, status_.pull_out_path.end_pose}, {0.0, distance},
PlanningBehavior::START_PLANNER, steering_factor_direction, SteeringFactor::TURNING, "");
Expand Down

0 comments on commit 53a4ec6

Please sign in to comment.