From e75bf1930addae6a53ed6d96145cc8c13fb92b05 Mon Sep 17 00:00:00 2001 From: Shohei Sakai Date: Fri, 6 Sep 2024 15:25:20 +0900 Subject: [PATCH] clang format --- system/mrm_handler/include/mrm_handler/mrm_handler_core.hpp | 5 +++-- system/mrm_handler/src/mrm_handler/mrm_handler_core.cpp | 5 ++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/system/mrm_handler/include/mrm_handler/mrm_handler_core.hpp b/system/mrm_handler/include/mrm_handler/mrm_handler_core.hpp index 3d8b14227a421..c64a2f338f6ef 100644 --- a/system/mrm_handler/include/mrm_handler/mrm_handler_core.hpp +++ b/system/mrm_handler/include/mrm_handler/mrm_handler_core.hpp @@ -106,7 +106,8 @@ class MrmHandler : public rclcpp::Node const tier4_system_msgs::msg::MrmBehaviorStatus::ConstSharedPtr msg); void onOperationModeState( const autoware_adapi_v1_msgs::msg::OperationModeState::ConstSharedPtr msg); - void onRecoverMrm(const std_srvs::srv::Trigger::Request::SharedPtr, + void onRecoverMrm( + const std_srvs::srv::Trigger::Request::SharedPtr, const std_srvs::srv::Trigger::Response::SharedPtr response); // Publisher @@ -138,7 +139,7 @@ class MrmHandler : public rclcpp::Node rclcpp::CallbackGroup::SharedPtr client_mrm_emergency_stop_group_; rclcpp::Client::SharedPtr client_mrm_emergency_stop_; - //Services + // Services rclcpp::Service::SharedPtr service_recover_mrm_; bool requestMrmBehavior( diff --git a/system/mrm_handler/src/mrm_handler/mrm_handler_core.cpp b/system/mrm_handler/src/mrm_handler/mrm_handler_core.cpp index 1633b089c3828..8569d31288139 100644 --- a/system/mrm_handler/src/mrm_handler/mrm_handler_core.cpp +++ b/system/mrm_handler/src/mrm_handler/mrm_handler_core.cpp @@ -89,8 +89,7 @@ MrmHandler::MrmHandler() : Node("mrm_handler") // Services service_recover_mrm_ = create_service( "/system/clear_mrm", - std::bind( - &MrmHandler::onRecoverMrm, this, std::placeholders::_1, std::placeholders::_2), + std::bind(&MrmHandler::onRecoverMrm, this, std::placeholders::_1, std::placeholders::_2), rmw_qos_profile_services_default); // Initialize @@ -637,4 +636,4 @@ void MrmHandler::onRecoverMrm( } else { response->success = false; } -} \ No newline at end of file +}