Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(autoware_msgs): add new optional messages package with published time debug message #83

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions autoware_optional_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
cmake_minimum_required(VERSION 3.14)
project(autoware_optional_msgs)

find_package(ament_cmake_auto REQUIRED)
ament_auto_find_build_dependencies()

set(msg_files
"msg/PublishedTime.msg")

set(msg_dependencies
builtin_interfaces)

rosidl_generate_interfaces(${PROJECT_NAME}
${msg_files}
DEPENDENCIES ${msg_dependencies}
)

ament_auto_package()
7 changes: 7 additions & 0 deletions autoware_optional_msgs/msg/PublishedTime.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# The debug message which includes header and publishing timestamp

# Message header time
builtin_interfaces/Time header_stamp

# Timestamp when the message was published
builtin_interfaces/Time published_stamp
24 changes: 24 additions & 0 deletions autoware_optional_msgs/package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?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_optional_msgs</name>
<version>1.0.0</version>
<description>Autoware optional messages package.</description>
<maintainer email="[email protected]">Berkay Karaman</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>

<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>
Loading