From ed9bd6535347214a8139df32f6b321265067690e 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 1/3] 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 From 558a49e7af23e43aea0dbf897f6585f05c6d0a8f Mon Sep 17 00:00:00 2001 From: "Takagi, Isamu" Date: Thu, 29 Aug 2024 15:25:53 +0900 Subject: [PATCH 2/3] feat(autoware_adapi_v1_msgs): add route change option Signed-off-by: Takagi, Isamu --- autoware_adapi_v1_msgs/routing/msg/RouteOption.msg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autoware_adapi_v1_msgs/routing/msg/RouteOption.msg b/autoware_adapi_v1_msgs/routing/msg/RouteOption.msg index be2b5f9..f0bb671 100644 --- a/autoware_adapi_v1_msgs/routing/msg/RouteOption.msg +++ b/autoware_adapi_v1_msgs/routing/msg/RouteOption.msg @@ -1 +1,5 @@ +# Please refer to the following pages for details on each option. +# https://autowarefoundation.github.io/autoware-documentation/main/design/autoware-interfaces/ad-api/features/routing/ + bool allow_goal_modification +bool allow_while_following From af69025cda1b0a108e4832bd733e05caf87cc6f5 Mon Sep 17 00:00:00 2001 From: "Takagi, Isamu" Date: Thu, 29 Aug 2024 18:51:16 +0900 Subject: [PATCH 3/3] rename Signed-off-by: Takagi, Isamu --- autoware_adapi_v1_msgs/routing/msg/RouteOption.msg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoware_adapi_v1_msgs/routing/msg/RouteOption.msg b/autoware_adapi_v1_msgs/routing/msg/RouteOption.msg index f0bb671..de116ad 100644 --- a/autoware_adapi_v1_msgs/routing/msg/RouteOption.msg +++ b/autoware_adapi_v1_msgs/routing/msg/RouteOption.msg @@ -2,4 +2,4 @@ # https://autowarefoundation.github.io/autoware-documentation/main/design/autoware-interfaces/ad-api/features/routing/ bool allow_goal_modification -bool allow_while_following +bool allow_while_using_route