Skip to content

Commit

Permalink
feat(autoware_internal_msgs): add PublishedTime debug info message (#1)
Browse files Browse the repository at this point in the history
Signed-off-by: Berkay Karaman <[email protected]>
  • Loading branch information
Berkay Karaman authored Feb 29, 2024
1 parent c8160bd commit a701d19
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 0 deletions.
20 changes: 20 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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()
6 changes: 6 additions & 0 deletions msg/PublishedTime.msg
Original file line number Diff line number Diff line change
@@ -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
29 changes: 29 additions & 0 deletions package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>autoware_internal_msgs</name>
<version>1.0.0</version>
<description>Autoware internal messages package.</description>
<maintainer email="[email protected]">Berkay Karaman</maintainer>
<maintainer email="[email protected]">M. Fatih Cırıt</maintainer>
<maintainer email="[email protected]">Ryohsuke Mitsudome</maintainer>
<maintainer email="[email protected]">Yukihiro Saito</maintainer>
<license>Apache License 2.0</license>

<buildtool_depend>ament_cmake_auto</buildtool_depend>
<buildtool_depend>rosidl_default_generators</buildtool_depend>

<exec_depend>rosidl_default_runtime</exec_depend>
<depend>builtin_interfaces</depend>
<depend>std_msgs</depend>

<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>

<member_of_group>rosidl_interface_packages</member_of_group>

<export>
<build_type>ament_cmake</build_type>
</export>

</package>

0 comments on commit a701d19

Please sign in to comment.