Commit 736ab5e 1 parent 354eae2 commit 736ab5e Copy full SHA for 736ab5e
File tree 1 file changed +0
-28
lines changed
planning/behavior_path_goal_planner_module/src
1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -1640,34 +1640,6 @@ TurnSignalInfo GoalPlannerModule::calcTurnSignalInfo()
1640
1640
ignore_signal_ = update_ignore_signal (closest_lanelet.id (), is_ignore);
1641
1641
1642
1642
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;
1671
1643
}
1672
1644
1673
1645
bool GoalPlannerModule::checkOccupancyGridCollision (const PathWithLaneId & path) const
You can’t perform that action at this time.
0 commit comments