From a701d19e773453c0b037f2233d7059fec5f80574 Mon Sep 17 00:00:00 2001 From: Berkay Karaman Date: Thu, 29 Feb 2024 11:43:47 +0300 Subject: [PATCH] feat(autoware_internal_msgs): add PublishedTime debug info message (#1) Signed-off-by: Berkay Karaman --- CMakeLists.txt | 20 ++++++++++++++++++++ msg/PublishedTime.msg | 6 ++++++ package.xml | 29 +++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 CMakeLists.txt create mode 100644 msg/PublishedTime.msg create mode 100644 package.xml diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..1c357d8 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,20 @@ +cmake_minimum_required(VERSION 3.14) +project(autoware_internal_msgs) + +find_package(ament_cmake_auto REQUIRED) +ament_auto_find_build_dependencies() + +set(msg_files + "msg/PublishedTime.msg") + +set(msg_dependencies + builtin_interfaces + std_msgs +) + +rosidl_generate_interfaces(${PROJECT_NAME} + ${msg_files} + DEPENDENCIES ${msg_dependencies} +) + +ament_auto_package() diff --git a/msg/PublishedTime.msg b/msg/PublishedTime.msg new file mode 100644 index 0000000..dd6f756 --- /dev/null +++ b/msg/PublishedTime.msg @@ -0,0 +1,6 @@ +# The debug message which includes header and published timestamp + +std_msgs/Header header + +# Timestamp indicating when the message was published +builtin_interfaces/Time published_stamp diff --git a/package.xml b/package.xml new file mode 100644 index 0000000..7bf5997 --- /dev/null +++ b/package.xml @@ -0,0 +1,29 @@ + + + + autoware_internal_msgs + 1.0.0 + Autoware internal messages package. + Berkay Karaman + M. Fatih Cırıt + Ryohsuke Mitsudome + Yukihiro Saito + Apache License 2.0 + + ament_cmake_auto + rosidl_default_generators + + rosidl_default_runtime + builtin_interfaces + std_msgs + + ament_lint_auto + ament_lint_common + + rosidl_interface_packages + + + ament_cmake + + +