Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
  • Loading branch information
kosuke55 committed Feb 27, 2025
1 parent 776ce14 commit 04e5114
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions planning/autoware_path_generator/src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -411,9 +411,7 @@ std::optional<lanelet::ConstPoint2d> get_turn_signal_required_end_point(

auto centerline =
autoware::trajectory::Trajectory<geometry_msgs::msg::Pose>::Builder{}.build(centerline_poses);
if (!centerline) {
return std::nullopt;
}
if (!centerline) return std::nullopt;
centerline->align_orientation_with_trajectory_direction();

const auto terminal_yaw = tf2::getYaw(centerline->compute(centerline->length()).orientation);
Expand Down

0 comments on commit 04e5114

Please sign in to comment.