From fe1ba2901fe019c7b023c6f2f17c6af7cb0551a4 Mon Sep 17 00:00:00 2001 From: "Takagi, Isamu" <43976882+isamu-takagi@users.noreply.github.com> Date: Thu, 2 May 2024 22:27:40 +0900 Subject: [PATCH] feat(autoware_adapi_v1_msgs): add diagnostics (#54) Signed-off-by: Takagi, Isamu --- autoware_adapi_v1_msgs/CMakeLists.txt | 5 +++++ autoware_adapi_v1_msgs/system/msg/DiagGraphStatus.msg | 3 +++ autoware_adapi_v1_msgs/system/msg/DiagGraphStruct.msg | 4 ++++ autoware_adapi_v1_msgs/system/msg/DiagLinkStruct.msg | 3 +++ autoware_adapi_v1_msgs/system/msg/DiagNodeStatus.msg | 2 ++ autoware_adapi_v1_msgs/system/msg/DiagNodeStruct.msg | 1 + 6 files changed, 18 insertions(+) create mode 100644 autoware_adapi_v1_msgs/system/msg/DiagGraphStatus.msg create mode 100644 autoware_adapi_v1_msgs/system/msg/DiagGraphStruct.msg create mode 100644 autoware_adapi_v1_msgs/system/msg/DiagLinkStruct.msg create mode 100644 autoware_adapi_v1_msgs/system/msg/DiagNodeStatus.msg create mode 100644 autoware_adapi_v1_msgs/system/msg/DiagNodeStruct.msg diff --git a/autoware_adapi_v1_msgs/CMakeLists.txt b/autoware_adapi_v1_msgs/CMakeLists.txt index 77b93a0..91ffe11 100644 --- a/autoware_adapi_v1_msgs/CMakeLists.txt +++ b/autoware_adapi_v1_msgs/CMakeLists.txt @@ -41,6 +41,11 @@ rosidl_generate_interfaces(${PROJECT_NAME} planning/srv/GetCooperationPolicies.srv system/msg/MrmState.msg system/msg/Heartbeat.msg + system/msg/DiagGraphStruct.msg + system/msg/DiagGraphStatus.msg + system/msg/DiagLinkStruct.msg + system/msg/DiagNodeStruct.msg + system/msg/DiagNodeStatus.msg vehicle/msg/DoorCommand.msg vehicle/msg/DoorLayout.msg vehicle/msg/DoorStatus.msg diff --git a/autoware_adapi_v1_msgs/system/msg/DiagGraphStatus.msg b/autoware_adapi_v1_msgs/system/msg/DiagGraphStatus.msg new file mode 100644 index 0000000..65f966f --- /dev/null +++ b/autoware_adapi_v1_msgs/system/msg/DiagGraphStatus.msg @@ -0,0 +1,3 @@ +builtin_interfaces/Time stamp +string id +autoware_adapi_v1_msgs/DiagNodeStatus[] nodes diff --git a/autoware_adapi_v1_msgs/system/msg/DiagGraphStruct.msg b/autoware_adapi_v1_msgs/system/msg/DiagGraphStruct.msg new file mode 100644 index 0000000..a696d84 --- /dev/null +++ b/autoware_adapi_v1_msgs/system/msg/DiagGraphStruct.msg @@ -0,0 +1,4 @@ +builtin_interfaces/Time stamp +string id +autoware_adapi_v1_msgs/DiagNodeStruct[] nodes +autoware_adapi_v1_msgs/DiagLinkStruct[] links diff --git a/autoware_adapi_v1_msgs/system/msg/DiagLinkStruct.msg b/autoware_adapi_v1_msgs/system/msg/DiagLinkStruct.msg new file mode 100644 index 0000000..9e65d4c --- /dev/null +++ b/autoware_adapi_v1_msgs/system/msg/DiagLinkStruct.msg @@ -0,0 +1,3 @@ +# The index of nodes in the graph struct message. +uint32 parent +uint32 child diff --git a/autoware_adapi_v1_msgs/system/msg/DiagNodeStatus.msg b/autoware_adapi_v1_msgs/system/msg/DiagNodeStatus.msg new file mode 100644 index 0000000..038ad74 --- /dev/null +++ b/autoware_adapi_v1_msgs/system/msg/DiagNodeStatus.msg @@ -0,0 +1,2 @@ +# The level of diagnostic_msgs/msg/DiagnosticStatus. +byte level diff --git a/autoware_adapi_v1_msgs/system/msg/DiagNodeStruct.msg b/autoware_adapi_v1_msgs/system/msg/DiagNodeStruct.msg new file mode 100644 index 0000000..f3f7414 --- /dev/null +++ b/autoware_adapi_v1_msgs/system/msg/DiagNodeStruct.msg @@ -0,0 +1 @@ +string path