Skip to content

Commit

Permalink
Merge pull request #20 from ROBOTIS-GIT/ros2-devel
Browse files Browse the repository at this point in the history
Added action file for example package
  • Loading branch information
robotpilot authored Sep 23, 2019
2 parents d0e0466 + 92815ce commit 2bff806
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 9 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Changelog for package turtlebot3_msgs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

2.2.0 (2019-09-24)
------------------
* Added action file for turtlebot example package
* Contributors: Ryan Shim

2.1.0 (2019-08-20)
------------------
* Supported ROS 2 Dashing Diademata
Expand Down
8 changes: 7 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ endif()
################################################################################
# Find ament packages and libraries for ament and system dependencies
################################################################################
find_package(action_msgs REQUIRED)
find_package(ament_cmake REQUIRED)
find_package(rosidl_default_generators REQUIRED)
find_package(std_msgs REQUIRED)
Expand All @@ -36,10 +37,15 @@ set(srv_files
"srv/Sound.srv"
)

set(action_files
"action/Patrol.action"
)

rosidl_generate_interfaces(${PROJECT_NAME}
${msg_files}
${srv_files}
DEPENDENCIES std_msgs
${action_files}
DEPENDENCIES action_msgs std_msgs
ADD_LINTER_TESTS
)
ament_export_dependencies(rosidl_default_runtime)
Expand Down
8 changes: 8 additions & 0 deletions action/Patrol.action
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Goal
float32 radius
---
# Result
bool success
---
# Feedback
float32 left_time
13 changes: 5 additions & 8 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>turtlebot3_msgs</name>
<version>2.1.0</version>
<version>2.2.0</version>
<description>
Message and service types: custom messages and services for TurtleBot3 packages for ROS2
</description>
Expand All @@ -11,21 +11,18 @@
<author email="[email protected]">Darby Lim</author>
<author email="[email protected]">Gilbert</author>
<author email="[email protected]">Vineet Ghatge</author>
<author email="[email protected]">Ryan Shim</author>
<maintainer email="[email protected]">Pyo</maintainer>
<url type="website">http://wiki.ros.org/turtlebot3_msgs</url>
<url type="emanual">http://turtlebot3.robotis.com</url>
<url type="repository">https://github.com/ROBOTIS-GIT/turtlebot3_msgs</url>
<url type="bugtracker">https://github.com/ROBOTIS-GIT/turtlebot3_msgs/issues</url>
<buildtool_depend>ament_cmake</buildtool_depend>
<buildtool_depend>rosidl_default_generators</buildtool_depend>

<build_depend>builtin_interfaces</build_depend>
<build_depend>std_msgs</build_depend>

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

<test_depend>ament_lint_common</test_depend>
<member_of_group>rosidl_interface_packages</member_of_group>
<export>
Expand Down

0 comments on commit 2bff806

Please sign in to comment.