Skip to content

Commit

Permalink
clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
saka1-s committed Sep 6, 2024
1 parent 5c229fd commit e75bf19
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions system/mrm_handler/include/mrm_handler/mrm_handler_core.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -138,7 +139,7 @@ class MrmHandler : public rclcpp::Node
rclcpp::CallbackGroup::SharedPtr client_mrm_emergency_stop_group_;
rclcpp::Client<tier4_system_msgs::srv::OperateMrm>::SharedPtr client_mrm_emergency_stop_;

//Services
// Services
rclcpp::Service<std_srvs::srv::Trigger>::SharedPtr service_recover_mrm_;

bool requestMrmBehavior(
Expand Down
5 changes: 2 additions & 3 deletions system/mrm_handler/src/mrm_handler/mrm_handler_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ MrmHandler::MrmHandler() : Node("mrm_handler")
// Services
service_recover_mrm_ = create_service<std_srvs::srv::Trigger>(
"/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
Expand Down Expand Up @@ -637,4 +636,4 @@ void MrmHandler::onRecoverMrm(
} else {
response->success = false;
}
}
}

0 comments on commit e75bf19

Please sign in to comment.