Skip to content

Commit 19d728d

Browse files
fix(diagnostic_converter): move headers to a separate directory (#5943)
* fix(diagnostic_converter): move headers to a separate directory Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp> * style(pre-commit): autofix --------- Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 1d6e7e8 commit 19d728d

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

evaluator/diagnostic_converter/include/converter_node.hpp evaluator/diagnostic_converter/include/diagnostic_converter/converter_node.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#ifndef CONVERTER_NODE_HPP_
16-
#define CONVERTER_NODE_HPP_
15+
#ifndef DIAGNOSTIC_CONVERTER__CONVERTER_NODE_HPP_
16+
#define DIAGNOSTIC_CONVERTER__CONVERTER_NODE_HPP_
1717

1818
#include <rclcpp/rclcpp.hpp>
1919

@@ -63,4 +63,4 @@ class DiagnosticConverter : public rclcpp::Node
6363
};
6464
} // namespace diagnostic_converter
6565

66-
#endif // CONVERTER_NODE_HPP_
66+
#endif // DIAGNOSTIC_CONVERTER__CONVERTER_NODE_HPP_

evaluator/diagnostic_converter/src/converter_node.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#include "converter_node.hpp"
15+
#include "diagnostic_converter/converter_node.hpp"
1616

1717
#include <regex>
1818

evaluator/diagnostic_converter/test/test_converter_node.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,16 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#include "converter_node.hpp"
16-
#include "gtest/gtest.h"
15+
#include "diagnostic_converter/converter_node.hpp"
1716

1817
#include <rclcpp/rclcpp.hpp>
1918

2019
#include "diagnostic_msgs/msg/diagnostic_array.hpp"
2120
#include "tier4_simulation_msgs/msg/user_defined_value.hpp"
2221
#include "tier4_simulation_msgs/msg/user_defined_value_type.hpp"
2322

23+
#include <gtest/gtest.h>
24+
2425
#include <memory>
2526
#include <string>
2627
#include <unordered_map>

0 commit comments

Comments
 (0)