From c64bfbfac3b3a1cbae96b2ed91d5578822b1af59 Mon Sep 17 00:00:00 2001 From: Ryuta Kambe Date: Sat, 9 Nov 2024 19:56:07 +0900 Subject: [PATCH] fix(/autoware_freespace_planning_algorithms): fix cppcheck unusedFunction (#9274) Signed-off-by: Ryuta Kambe --- .../src/astar_search.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/planning/autoware_freespace_planning_algorithms/src/astar_search.cpp b/planning/autoware_freespace_planning_algorithms/src/astar_search.cpp index 805f375af4276..875d44847b40c 100644 --- a/planning/autoware_freespace_planning_algorithms/src/astar_search.cpp +++ b/planning/autoware_freespace_planning_algorithms/src/astar_search.cpp @@ -48,11 +48,6 @@ double calcReedsSheppDistance(const Pose & p1, const Pose & p2, double radius) return rs_space.distance(pose0, pose1); } -void setYaw(geometry_msgs::msg::Quaternion * orientation, const double yaw) -{ - *orientation = autoware::universe_utils::createQuaternionFromYaw(yaw); -} - Pose calcRelativePose(const Pose & base_pose, const Pose & pose) { tf2::Transform tf_transform;