From d996e407724ac9ef3018c8da11323d50edc933a6 Mon Sep 17 00:00:00 2001 From: "Takagi, Isamu" <43976882+isamu-takagi@users.noreply.github.com> Date: Mon, 1 Apr 2024 14:39:24 +0900 Subject: [PATCH] feat(autoware_adapi_v1_msgs): add heartbeat (#50) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(autoware_adapi_v1_msgs): add heartbeat Signed-off-by: Takagi, Isamu * feat(autoware_adapi_v1_msgs): add message counter Signed-off-by: Takagi, Isamu * Update autoware_adapi_v1_msgs/system/msg/Heartbeat.msg Co-authored-by: M. Fatih Cırıt * feat: add comment Signed-off-by: Takagi, Isamu --------- Signed-off-by: Takagi, Isamu Co-authored-by: M. Fatih Cırıt --- autoware_adapi_v1_msgs/CMakeLists.txt | 1 + autoware_adapi_v1_msgs/system/msg/Heartbeat.msg | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 autoware_adapi_v1_msgs/system/msg/Heartbeat.msg diff --git a/autoware_adapi_v1_msgs/CMakeLists.txt b/autoware_adapi_v1_msgs/CMakeLists.txt index d0b56ae..77b93a0 100644 --- a/autoware_adapi_v1_msgs/CMakeLists.txt +++ b/autoware_adapi_v1_msgs/CMakeLists.txt @@ -40,6 +40,7 @@ rosidl_generate_interfaces(${PROJECT_NAME} planning/srv/SetCooperationPolicies.srv planning/srv/GetCooperationPolicies.srv system/msg/MrmState.msg + system/msg/Heartbeat.msg vehicle/msg/DoorCommand.msg vehicle/msg/DoorLayout.msg vehicle/msg/DoorStatus.msg diff --git a/autoware_adapi_v1_msgs/system/msg/Heartbeat.msg b/autoware_adapi_v1_msgs/system/msg/Heartbeat.msg new file mode 100644 index 0000000..c6be5ba --- /dev/null +++ b/autoware_adapi_v1_msgs/system/msg/Heartbeat.msg @@ -0,0 +1,5 @@ +# Timestamp in Autoware for delay checking. +builtin_interfaces/Time stamp + +# Sequence number for order verification, wraps at 65535. +uint16 seq