From 1050b8095360245134a7df6140ce1b4c4486aed1 Mon Sep 17 00:00:00 2001 From: Kuwamai Date: Thu, 2 Nov 2023 18:44:37 +0900 Subject: [PATCH] =?UTF-8?q?=E5=B7=A6=E8=BE=BA=E5=80=A4=E5=8F=82=E7=85=A7?= =?UTF-8?q?=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Shota Aoki --- sciurus17_control/src/sciurus17_hardware.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sciurus17_control/src/sciurus17_hardware.cpp b/sciurus17_control/src/sciurus17_hardware.cpp index 0316e75..f91c713 100644 --- a/sciurus17_control/src/sciurus17_hardware.cpp +++ b/sciurus17_control/src/sciurus17_hardware.cpp @@ -192,7 +192,7 @@ CallbackReturn Sciurus17Hardware::on_activate(const rclcpp_lifecycle::State & /* } write(prev_comm_timestamp_, rclcpp::Duration::from_seconds(0)); - for (auto group_name : GROUP_NAMES) { + for (const auto & group_name : GROUP_NAMES) { if (!hardware_->write_position_pid_gain_to_group( group_name, START_P_GAIN, START_I_GAIN, START_D_GAIN)) {