From 7423f61c7e7e31d542a488cb32ad4ebc5d574268 Mon Sep 17 00:00:00 2001 From: Bence Magyar Date: Thu, 26 Sep 2024 00:03:25 +0100 Subject: [PATCH] Update hardware_interface/src/resource_manager.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Christoph Fröhlich --- hardware_interface/src/resource_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware_interface/src/resource_manager.cpp b/hardware_interface/src/resource_manager.cpp index ba1abef8b5..fe5e9ae904 100644 --- a/hardware_interface/src/resource_manager.cpp +++ b/hardware_interface/src/resource_manager.cpp @@ -609,7 +609,7 @@ class ResourceStorage void import_state_interfaces(HardwareT & hardware) { std::vector interfaces = hardware.export_state_interfaces(); - const auto interface_names = add_state_interfaces(interface); + const auto interface_names = add_state_interfaces(interfaces); RCLCPP_WARN( get_logger(),