From 1f02fcadedcf8988189201e6a37e5485c074f0c7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 10 Apr 2024 13:20:10 +0000 Subject: [PATCH] style(pre-commit): autofix --- .../static_centerline_optimizer_node.hpp | 3 ++- .../autoware_static_centerline_optimizer/type_alias.hpp | 6 +++--- .../include/autoware_static_centerline_optimizer/utils.hpp | 6 +++--- .../src/static_centerline_optimizer_node.cpp | 2 ++ 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/planning/static_centerline_optimizer/include/autoware_static_centerline_optimizer/static_centerline_optimizer_node.hpp b/planning/static_centerline_optimizer/include/autoware_static_centerline_optimizer/static_centerline_optimizer_node.hpp index dea594bfaf441..1955c8f922cd9 100644 --- a/planning/static_centerline_optimizer/include/autoware_static_centerline_optimizer/static_centerline_optimizer_node.hpp +++ b/planning/static_centerline_optimizer/include/autoware_static_centerline_optimizer/static_centerline_optimizer_node.hpp @@ -20,6 +20,7 @@ #include "autoware_static_centerline_optimizer/srv/plan_route.hpp" #include "autoware_static_centerline_optimizer/type_alias.hpp" #include "rclcpp/rclcpp.hpp" +#include "type_alias.hpp" #include "vehicle_info_util/vehicle_info_util.hpp" #include @@ -107,4 +108,4 @@ class StaticCenterlineOptimizerNode : public rclcpp::Node vehicle_info_util::VehicleInfo vehicle_info_{}; }; } // namespace autoware::static_centerline_optimizer -#endif // AUTOWARE_STATIC_CENTERLINE_OPTIMIZER__STATIC_CENTERLINE_OPTIMIZER_NODE_HPP_ +#endif // STATIC_CENTERLINE_OPTIMIZER_NODE_HPP_ diff --git a/planning/static_centerline_optimizer/include/autoware_static_centerline_optimizer/type_alias.hpp b/planning/static_centerline_optimizer/include/autoware_static_centerline_optimizer/type_alias.hpp index d58f01e9efd3b..8189ee05b24b5 100644 --- a/planning/static_centerline_optimizer/include/autoware_static_centerline_optimizer/type_alias.hpp +++ b/planning/static_centerline_optimizer/include/autoware_static_centerline_optimizer/type_alias.hpp @@ -11,8 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -#ifndef AUTOWARE_STATIC_CENTERLINE_OPTIMIZER__TYPE_ALIAS_HPP_ -#define AUTOWARE_STATIC_CENTERLINE_OPTIMIZER__TYPE_ALIAS_HPP_ +#ifndef TYPE_ALIAS_HPP_ +#define TYPE_ALIAS_HPP_ #include "route_handler/route_handler.hpp" #include "tier4_autoware_utils/geometry/geometry.hpp" @@ -43,4 +43,4 @@ using tier4_autoware_utils::Point2d; using visualization_msgs::msg::MarkerArray; } // namespace autoware::static_centerline_optimizer -#endif // AUTOWARE_STATIC_CENTERLINE_OPTIMIZER__TYPE_ALIAS_HPP_ +#endif // TYPE_ALIAS_HPP_ diff --git a/planning/static_centerline_optimizer/include/autoware_static_centerline_optimizer/utils.hpp b/planning/static_centerline_optimizer/include/autoware_static_centerline_optimizer/utils.hpp index eb4704914fc80..51736565e2fff 100644 --- a/planning/static_centerline_optimizer/include/autoware_static_centerline_optimizer/utils.hpp +++ b/planning/static_centerline_optimizer/include/autoware_static_centerline_optimizer/utils.hpp @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef AUTOWARE_STATIC_CENTERLINE_OPTIMIZER__UTILS_HPP_ -#define AUTOWARE_STATIC_CENTERLINE_OPTIMIZER__UTILS_HPP_ +#ifndef UTILS_HPP_ +#define UTILS_HPP_ #include "autoware_static_centerline_optimizer/type_alias.hpp" #include "route_handler/route_handler.hpp" @@ -47,4 +47,4 @@ MarkerArray create_distance_text_marker( const std::array & marker_color, const rclcpp::Time & now, const size_t idx); } // namespace autoware::static_centerline_optimizer::utils -#endif // AUTOWARE_STATIC_CENTERLINE_OPTIMIZER__UTILS_HPP_ +#endif // UTILS_HPP_ diff --git a/planning/static_centerline_optimizer/src/static_centerline_optimizer_node.cpp b/planning/static_centerline_optimizer/src/static_centerline_optimizer_node.cpp index 525a130fdb785..08c62c9f40c2e 100644 --- a/planning/static_centerline_optimizer/src/static_centerline_optimizer_node.cpp +++ b/planning/static_centerline_optimizer/src/static_centerline_optimizer_node.cpp @@ -28,6 +28,8 @@ #include "path_smoother/elastic_band_smoother.hpp" #include "tier4_autoware_utils/geometry/geometry.hpp" #include "tier4_autoware_utils/ros/parameter.hpp" +#include "type_alias.hpp" +#include "utils.hpp" #include #include