diff --git a/sensing/autoware_image_diagnostics/README.md b/sensing/autoware_image_diagnostics/README.md
index 03858088564b3..42fcbdc8dc612 100644
--- a/sensing/autoware_image_diagnostics/README.md
+++ b/sensing/autoware_image_diagnostics/README.md
@@ -28,13 +28,13 @@ After all image's blocks state are evaluated, the whole image status is summariz
### Output
-| Name | Type | Description |
-| ----------------------------------- | --------------------------------------- | ------------------------------------- |
-| `image_diag/debug/gray_image` | `sensor_msgs::msg::Image` | gray image |
-| `image_diag/debug/dft_image` | `sensor_msgs::msg::Image` | discrete Fourier transformation image |
-| `image_diag/debug/diag_block_image` | `sensor_msgs::msg::Image` | each block state colorization |
-| `image_diag/image_state_diag` | `tier4_debug_msgs::msg::Int32Stamped` | image diagnostics status value |
-| `/diagnostics` | `diagnostic_msgs::msg::DiagnosticArray` | diagnostics |
+| Name | Type | Description |
+| ----------------------------------- | ------------------------------------------------- | ------------------------------------- |
+| `image_diag/debug/gray_image` | `sensor_msgs::msg::Image` | gray image |
+| `image_diag/debug/dft_image` | `sensor_msgs::msg::Image` | discrete Fourier transformation image |
+| `image_diag/debug/diag_block_image` | `sensor_msgs::msg::Image` | each block state colorization |
+| `image_diag/image_state_diag` | `autoware_internal_debug_msgs::msg::Int32Stamped` | image diagnostics status value |
+| `/diagnostics` | `diagnostic_msgs::msg::DiagnosticArray` | diagnostics |
## Parameters
diff --git a/sensing/autoware_image_diagnostics/package.xml b/sensing/autoware_image_diagnostics/package.xml
index 2e4556de2b92b..3140b87e1f1b9 100644
--- a/sensing/autoware_image_diagnostics/package.xml
+++ b/sensing/autoware_image_diagnostics/package.xml
@@ -12,6 +12,7 @@
ament_cmake_auto
+ autoware_internal_debug_msgs
autoware_universe_utils
cv_bridge
diagnostic_updater
@@ -19,7 +20,6 @@
rclcpp
rclcpp_components
sensor_msgs
- tier4_debug_msgs
ament_lint_auto
autoware_lint_common
diff --git a/sensing/autoware_image_diagnostics/src/image_diagnostics_node.cpp b/sensing/autoware_image_diagnostics/src/image_diagnostics_node.cpp
index 1625cba5b72aa..57e53aee46328 100644
--- a/sensing/autoware_image_diagnostics/src/image_diagnostics_node.cpp
+++ b/sensing/autoware_image_diagnostics/src/image_diagnostics_node.cpp
@@ -33,7 +33,7 @@ ImageDiagNode::ImageDiagNode(const rclcpp::NodeOptions & node_options)
dft_image_pub_ = image_transport::create_publisher(this, "image_diag/debug/dft_image");
gray_image_pub_ = image_transport::create_publisher(this, "image_diag/debug/gray_image");
- image_state_pub_ = create_publisher(
+ image_state_pub_ = create_publisher(
"image_diag/image_state_diag", rclcpp::SensorDataQoS());
updater_.setHardwareID("Image_Diagnostics");
@@ -225,7 +225,7 @@ void ImageDiagNode::ImageChecker(const sensor_msgs::msg::Image::ConstSharedPtr i
} else {
params_.diagnostic_status = 0;
}
- tier4_debug_msgs::msg::Int32Stamped image_state_out;
+ autoware_internal_debug_msgs::msg::Int32Stamped image_state_out;
image_state_out.data = params_.diagnostic_status;
image_state_pub_->publish(image_state_out);
diff --git a/sensing/autoware_image_diagnostics/src/image_diagnostics_node.hpp b/sensing/autoware_image_diagnostics/src/image_diagnostics_node.hpp
index 325624062b90b..9383da33160f9 100644
--- a/sensing/autoware_image_diagnostics/src/image_diagnostics_node.hpp
+++ b/sensing/autoware_image_diagnostics/src/image_diagnostics_node.hpp
@@ -21,10 +21,10 @@
#include
#include
+#include
+#include
+#include
#include
-#include
-#include
-#include
#if __has_include()
#include
@@ -95,8 +95,9 @@ class ImageDiagNode : public rclcpp::Node
image_transport::Publisher block_diag_image_pub_;
image_transport::Publisher dft_image_pub_;
image_transport::Publisher gray_image_pub_;
- rclcpp::Publisher::SharedPtr average_pub_;
- rclcpp::Publisher::SharedPtr image_state_pub_;
+ rclcpp::Publisher::SharedPtr
+ average_pub_;
+ rclcpp::Publisher::SharedPtr image_state_pub_;
};
} // namespace autoware::image_diagnostics