Skip to content

Commit 736ab5e

Browse files
kosuke55esteve
authored andcommitted
chore(goal_planner): delete unnecessary comments (#6729)
chore(goal_planner): delete comments Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
1 parent 354eae2 commit 736ab5e

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

planning/behavior_path_goal_planner_module/src/goal_planner_module.cpp

-28
Original file line numberDiff line numberDiff line change
@@ -1640,34 +1640,6 @@ TurnSignalInfo GoalPlannerModule::calcTurnSignalInfo()
16401640
ignore_signal_ = update_ignore_signal(closest_lanelet.id(), is_ignore);
16411641

16421642
return new_signal;
1643-
// // calc TurnIndicatorsCommand
1644-
// {
1645-
// const double distance_to_end =
1646-
// calcSignedArcLength(full_path.points, current_pose.position, end_pose.position);
1647-
// const bool is_before_end_pose = distance_to_end >= 0.0;
1648-
// if (is_before_end_pose) {
1649-
// if (left_side_parking_) {
1650-
// turn_signal.turn_signal.command = TurnIndicatorsCommand::ENABLE_LEFT;
1651-
// } else {
1652-
// turn_signal.turn_signal.command = TurnIndicatorsCommand::ENABLE_RIGHT;
1653-
// }
1654-
// } else {
1655-
// turn_signal.turn_signal.command = TurnIndicatorsCommand::NO_COMMAND;
1656-
// }
1657-
// }
1658-
1659-
// // calc desired/required start/end point
1660-
// {
1661-
// // ego decelerates so that current pose is the point `turn_light_on_threshold_time` seconds
1662-
// // before starting pull_over
1663-
// turn_signal.desired_start_point =
1664-
// last_approval_data_ && hasDecidedPath() ? last_approval_data_->pose : current_pose;
1665-
// turn_signal.desired_end_point = end_pose;
1666-
// turn_signal.required_start_point = start_pose;
1667-
// turn_signal.required_end_point = end_pose;
1668-
// }
1669-
1670-
// return turn_signal;
16711643
}
16721644

16731645
bool GoalPlannerModule::checkOccupancyGridCollision(const PathWithLaneId & path) const

0 commit comments

Comments
 (0)