From 5ec9e28b6a1d813851d51ef4700fb37b0f176bd0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 8 Jan 2025 00:40:53 +0000 Subject: [PATCH] style(pre-commit): autofix --- .../include/crane_planner_plugins/simple_ai_planner.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/session/crane_planner_plugins/include/crane_planner_plugins/simple_ai_planner.hpp b/session/crane_planner_plugins/include/crane_planner_plugins/simple_ai_planner.hpp index dc8d7592..7c0a5b22 100644 --- a/session/crane_planner_plugins/include/crane_planner_plugins/simple_ai_planner.hpp +++ b/session/crane_planner_plugins/include/crane_planner_plugins/simple_ai_planner.hpp @@ -189,7 +189,7 @@ class SimpleAIPlanner : public PlannerBase, public rclcpp::Node // キャンセルのコールバック [&](const std::shared_ptr> goal_handle) -> rclcpp_action::CancelResponse { - std::cout << "Canceling goal: " << std::endl; + std::cout << "Canceling goal: " << std::endl; skill_execution_goal_handle.reset(); if (running_skill) { running_skill.reset(); @@ -209,7 +209,7 @@ class SimpleAIPlanner : public PlannerBase, public rclcpp::Node goal_handle->publish_feedback(feedback); rclcpp::sleep_for(std::chrono::milliseconds(100)); // 100ms待機 } - std::cout << "Goal succeeded: " << std::endl; + std::cout << "Goal succeeded: " << std::endl; auto result = std::make_shared(); goal_handle->succeed(result); }); @@ -248,7 +248,8 @@ class SimpleAIPlanner : public PlannerBase, public rclcpp::Node rclcpp_action::Server::SharedPtr skill_execution_server; - std::shared_ptr> skill_execution_goal_handle; + std::shared_ptr> + skill_execution_goal_handle; std::shared_ptr running_skill = nullptr;