From 121da6408b272681cae9d23bca061dc96a41c911 Mon Sep 17 00:00:00 2001 From: Thibault Poignonec Date: Fri, 20 Dec 2024 11:59:06 +0100 Subject: [PATCH] minor fixes in comments --- controller_interface/test/test_led_rgb_device.cpp | 2 +- .../test/test_semantic_component_command_interface.cpp | 4 ++-- .../test/test_semantic_component_command_interface.hpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/controller_interface/test/test_led_rgb_device.cpp b/controller_interface/test/test_led_rgb_device.cpp index 9261fac137..b3e0496abb 100644 --- a/controller_interface/test/test_led_rgb_device.cpp +++ b/controller_interface/test/test_led_rgb_device.cpp @@ -49,7 +49,7 @@ TEST_F(LedDeviceTest, validate_all) hardware_interface::CommandInterface led_g{device_name_, interface_names_[1], &led_values_[1]}; hardware_interface::CommandInterface led_b{device_name_, interface_names_[2], &led_values_[2]}; - // Create state interface vector in jumbled order + // Create command interface vector in jumbled order std::vector temp_command_interfaces; temp_command_interfaces.reserve(3); temp_command_interfaces.emplace_back(led_r); diff --git a/controller_interface/test/test_semantic_component_command_interface.cpp b/controller_interface/test/test_semantic_component_command_interface.cpp index 93af44a561..5b54a4b861 100644 --- a/controller_interface/test/test_semantic_component_command_interface.cpp +++ b/controller_interface/test/test_semantic_component_command_interface.cpp @@ -1,4 +1,4 @@ -// Copyright 2025 Sherpa Mobile Robotics +// Copyright 2024 Sherpa Mobile Robotics // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -66,7 +66,7 @@ TEST_F(SemanticCommandInterfaceTest, validate_command_interfaces) hardware_interface::CommandInterface cmd_interface_2{component_name_, "2", &interface_values[1]}; hardware_interface::CommandInterface cmd_interface_3{component_name_, "3", &interface_values[2]}; - // create local state interface vector + // create local command interface vector std::vector temp_command_interfaces; temp_command_interfaces.reserve(3); // insert the interfaces in jumbled sequence diff --git a/controller_interface/test/test_semantic_component_command_interface.hpp b/controller_interface/test/test_semantic_component_command_interface.hpp index 5df307b88c..923e246bad 100644 --- a/controller_interface/test/test_semantic_component_command_interface.hpp +++ b/controller_interface/test/test_semantic_component_command_interface.hpp @@ -1,4 +1,4 @@ -// Copyright 2025 Sherpa Mobile Robotics +// Copyright 2024 Sherpa Mobile Robotics // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at