Skip to content

Commit 41a8a61

Browse files
authored
Merge pull request #4 from ichiro-its/3-add-master-header
Add Master Header
2 parents 583430e + 4f16244 commit 41a8a61

File tree

4 files changed

+44
-3
lines changed

4 files changed

+44
-3
lines changed

.github/workflows/build-and-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Build and Test
22
on:
33
pull_request:
4-
branches: [ main ]
4+
branches: [ master ]
55
push:
6-
branches: [ main ]
6+
branches: [ master ]
77
jobs:
88
build-and-test:
99
runs-on: ubuntu-latest

CMakeLists.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,13 @@ rosidl_generate_interfaces(${PROJECT_NAME}
2525
"srv/GetProperties.srv"
2626
"srv/SetProperties.srv")
2727

28+
install(DIRECTORY "include" DESTINATION ".")
29+
30+
if(BUILD_TESTING)
31+
find_package(ament_lint_auto REQUIRED)
32+
ament_lint_auto_find_test_dependencies()
33+
endif()
34+
2835
ament_export_dependencies(rosidl_default_runtime)
29-
ament_package()
36+
ament_export_include_directories("include")
37+
ament_package()
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// Copyright (c) 2021 Ichiro ITS
2+
//
3+
// Permission is hereby granted, free of charge, to any person obtaining a copy
4+
// of this software and associated documentation files (the "Software"), to deal
5+
// in the Software without restriction, including without limitation the rights
6+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
// copies of the Software, and to permit persons to whom the Software is
8+
// furnished to do so, subject to the following conditions:
9+
//
10+
// The above copyright notice and this permission notice shall be included in
11+
// all copies or substantial portions of the Software.
12+
//
13+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
16+
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
// THE SOFTWARE.
20+
21+
#ifndef SHISEN_INTERFACES__SHISEN_INTERFACES_HPP_
22+
#define SHISEN_INTERFACES__SHISEN_INTERFACES_HPP_
23+
24+
#include <shisen_interfaces/msg/compressed_image.hpp>
25+
#include <shisen_interfaces/msg/property.hpp>
26+
#include <shisen_interfaces/msg/property_event.hpp>
27+
#include <shisen_interfaces/msg/raw_image.hpp>
28+
#include <shisen_interfaces/srv/get_properties.hpp>
29+
#include <shisen_interfaces/srv/set_properties.hpp>
30+
31+
#endif // SHISEN_INTERFACES__SHISEN_INTERFACES_HPP_

package.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
<buildtool_depend>ament_cmake</buildtool_depend>
1010
<build_depend>rosidl_default_generator</build_depend>
1111
<exec_depend>rosidl_default_runtime</exec_depend>
12+
<test_depend>ament_lint_auto</test_depend>
13+
<test_depend>ament_lint_common</test_depend>
1214
<member_of_group>rosidl_interface_packages</member_of_group>
1315
<export>
1416
<build_type>ament_cmake</build_type>

0 commit comments

Comments
 (0)