Skip to content

Commit

Permalink
chore: fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
technolojin committed Oct 21, 2024
1 parent 2a1d6d2 commit 60cf148
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions perception/map_based_prediction/src/path_generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,8 @@ PosePath PathGenerator::interpolateReferencePath(
geometry_msgs::msg::Pose interpolated_pose;
const auto current_point =
tier4_autoware_utils::createPoint(lerp_ref_path_x.at(i), lerp_ref_path_y.at(i), 0.0);
const auto next_point = tier4_autoware_utils::createPoint(
lerp_ref_path_x.at(i + 1), lerp_ref_path_y.at(i + 1), 0.0);
const auto next_point =
tier4_autoware_utils::createPoint(lerp_ref_path_x.at(i + 1), lerp_ref_path_y.at(i + 1), 0.0);
const double yaw = tier4_autoware_utils::calcAzimuthAngle(current_point, next_point);
interpolated_pose.position = tier4_autoware_utils::createPoint(
lerp_ref_path_x.at(i), lerp_ref_path_y.at(i), lerp_ref_path_z.at(i));
Expand All @@ -357,7 +357,6 @@ PosePath PathGenerator::interpolateReferencePath(
lerp_ref_path_x.back(), lerp_ref_path_y.back(), lerp_ref_path_z.back());
interpolated_path.back().orientation = interpolated_path.at(interpolate_num - 2).orientation;


return interpolated_path;
}

Expand Down

0 comments on commit 60cf148

Please sign in to comment.