Skip to content

Commit

Permalink
Update scitos2_msgs
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Tudela <[email protected]>
  • Loading branch information
ajtudela committed Apr 8, 2024
1 parent f1a4c4a commit eb8f22c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 35 deletions.
44 changes: 13 additions & 31 deletions scitos2_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,18 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options("$<$<COMPILE_LANGUAGE:CXX>:-Wnon-virtual-dtor>")
endif()

################################################
## Find dependencies ##
################################################
## Find ament macros and libraries
# ###############################################
# # Find dependencies ##
# ###############################################
# # Find ament macros and libraries
find_package(ament_cmake REQUIRED)
find_package(rosidl_default_generators REQUIRED)
find_package(std_msgs REQUIRED)
find_package(builtin_interfaces REQUIRED)
find_package(rosidl_default_generators REQUIRED)

################################################
## Declare ROS messages, services and actions ##
################################################
# ###############################################
# # Declare ROS messages, services and actions ##
# ###############################################
set(msg_files
"msg/BarrierStatus.msg"
"msg/BatteryState.msg"
Expand All @@ -52,30 +53,11 @@ set(srv_files
rosidl_generate_interfaces(${PROJECT_NAME}
${msg_files}
${srv_files}
DEPENDENCIES std_msgs
DEPENDENCIES std_msgs builtin_interfaces
)

###########
## Build ##
###########

#############
## Install ##
#############

# ############
# # Testing ##
# ############
if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)

# the following line skips the linter which checks for copyrights
set(ament_cmake_copyright_FOUND TRUE)
ament_lint_auto_find_test_dependencies()
endif()

###################################
## ament specific configuration ##
###################################
# ##################################
# # ament specific configuration ##
# ##################################
ament_export_dependencies(rosidl_default_runtime)
ament_package()
10 changes: 6 additions & 4 deletions scitos2_msgs/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@
<maintainer email="[email protected]">Alberto Tudela</maintainer>
<license>Apache-2.0</license>
<author email="[email protected]">Alberto Tudela</author>

<buildtool_depend>ament_cmake</buildtool_depend>
<buildtool_depend>rosidl_default_generators</buildtool_depend>

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

<member_of_group>rosidl_interface_packages</member_of_group>
<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>

<export>
<build_type>ament_cmake</build_type>
</export>
Expand Down

0 comments on commit eb8f22c

Please sign in to comment.