From 689a478087926a1791909dfdff7212d2a5587379 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 24 Dec 2022 19:04:48 +0000 Subject: [PATCH] ci(pre-commit): autofix --- .../include/component_interface_specs/control.hpp | 2 +- .../predicted_path_checker/predicted_path_checker_node.hpp | 3 ++- .../predicted_path_checker_node.cpp | 3 +-- control/vehicle_cmd_gate/src/pause_interface.hpp | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/common/component_interface_specs/include/component_interface_specs/control.hpp b/common/component_interface_specs/include/component_interface_specs/control.hpp index 83ee4a448e922..393b8e84ccc18 100644 --- a/common/component_interface_specs/include/component_interface_specs/control.hpp +++ b/common/component_interface_specs/include/component_interface_specs/control.hpp @@ -17,8 +17,8 @@ #include -#include #include +#include #include namespace control_interface diff --git a/control/predicted_path_checker/include/predicted_path_checker/predicted_path_checker_node.hpp b/control/predicted_path_checker/include/predicted_path_checker/predicted_path_checker_node.hpp index f034e3b561d4a..7eb8d7a055b36 100644 --- a/control/predicted_path_checker/include/predicted_path_checker/predicted_path_checker_node.hpp +++ b/control/predicted_path_checker/include/predicted_path_checker/predicted_path_checker_node.hpp @@ -100,7 +100,8 @@ class PredictedPathCheckerNode : public rclcpp::Node sub_predicted_trajectory_; rclcpp::Subscription::SharedPtr sub_odom_; rclcpp::Subscription::SharedPtr sub_accel_; - component_interface_utils::Subscription::SharedPtr sub_pause_state_; + component_interface_utils::Subscription::SharedPtr + sub_pause_state_; component_interface_utils::Subscription::SharedPtr sub_is_start_requested_; diff --git a/control/predicted_path_checker/src/predicted_path_checker_node/predicted_path_checker_node.cpp b/control/predicted_path_checker/src/predicted_path_checker_node/predicted_path_checker_node.cpp index 0f82a2b8aec61..eacb10e1de8d2 100644 --- a/control/predicted_path_checker/src/predicted_path_checker_node/predicted_path_checker_node.cpp +++ b/control/predicted_path_checker/src/predicted_path_checker_node/predicted_path_checker_node.cpp @@ -237,8 +237,7 @@ void PredictedPathCheckerNode::onTimer() // send pause request if (current_state_ == State::PAUSE) { - if ( - current_pause_state_->state == tier4_control_msgs::msg::PauseState::DRIVE) { + if (current_pause_state_->state == tier4_control_msgs::msg::PauseState::DRIVE) { sendRequest(true); } } else if (current_state_ == State::DRIVE) { diff --git a/control/vehicle_cmd_gate/src/pause_interface.hpp b/control/vehicle_cmd_gate/src/pause_interface.hpp index fa81f0b79f670..bf5bd0a806764 100644 --- a/control/vehicle_cmd_gate/src/pause_interface.hpp +++ b/control/vehicle_cmd_gate/src/pause_interface.hpp @@ -17,7 +17,6 @@ #include #include - #include #include