-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add StringStamped message which will be used to transmit data a…
…s JSON
- Loading branch information
Showing
3 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
cmake_minimum_required(VERSION 3.8) | ||
project(dc_interfaces) | ||
|
||
|
||
set(dependencies | ||
builtin_interfaces | ||
rosidl_default_generators | ||
std_msgs | ||
) | ||
find_package(ament_cmake REQUIRED) | ||
foreach(Dependency IN ITEMS ${dependencies}) | ||
find_package(${Dependency} REQUIRED) | ||
endforeach() | ||
|
||
|
||
rosidl_generate_interfaces( | ||
${PROJECT_NAME} | ||
"msg/StringStamped.msg" | ||
DEPENDENCIES "${dependencies}" | ||
) | ||
|
||
ament_package() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
std_msgs/Header header | ||
|
||
string data | ||
string group_key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?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>dc_interfaces</name> | ||
<version>0.6.1</version> | ||
<description>Package containing data collection interfaces.</description> | ||
<maintainer email="d.bensoussan@proton.me">David Bensoussan</maintainer> | ||
<license>MPL-2.0</license> | ||
|
||
<buildtool_depend>ament_cmake</buildtool_depend> | ||
<build_depend>builtin_interfaces</build_depend> | ||
<build_depend>rosidl_default_generators</build_depend> | ||
<exec_depend>rosidl_default_runtime</exec_depend> | ||
|
||
<member_of_group>rosidl_interface_packages</member_of_group> | ||
|
||
<export> | ||
<build_type>ament_cmake</build_type> | ||
</export> | ||
</package> |