From ebd8ca67ce7b3fda7e07f3d9e76cd9ce80e6d340 Mon Sep 17 00:00:00 2001 From: Kuwamai Date: Thu, 2 Nov 2023 18:44:51 +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 f91c713..76dc579 100644 --- a/sciurus17_control/src/sciurus17_hardware.cpp +++ b/sciurus17_control/src/sciurus17_hardware.cpp @@ -161,7 +161,7 @@ std::vector Sciurus17Hardware::export_command_interfaces() { std::vector command_interfaces; - for (auto joint : info_.joints) { + for (const auto & joint : info_.joints) { command_interfaces.emplace_back( hardware_interface::CommandInterface( joint.name, hardware_interface::HW_IF_POSITION, &hw_position_commands_[joint.name]));