Skip to content

Commit

Permalink
Update configuration for the interfaces package
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanscherzinger committed Apr 17, 2024
1 parent fdfdfff commit e6e6dbb
Show file tree
Hide file tree
Showing 5 changed files with 84 additions and 0 deletions.
Empty file.
54 changes: 54 additions & 0 deletions schunk_egu_egk_gripper_interfaces/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
cmake_minimum_required(VERSION 3.10)
project(schunk_egu_egk_gripper_interfaces)

if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()

# find dependencies
find_package(ament_cmake REQUIRED)
find_package(rosidl_default_generators REQUIRED)
find_package(std_msgs REQUIRED)
find_package(sensor_msgs REQUIRED)
find_package(action_msgs REQUIRED)
find_package(control_msgs REQUIRED)
find_package(diagnostic_msgs REQUIRED)

rosidl_generate_interfaces(
${PROJECT_NAME}
action/Grip.action
action/GripWithPosition.action
action/GripWithPositionAndVelocity.action
action/GripWithVelocity.action
action/MoveToAbsolutePosition.action
action/MoveToRelativePosition.action
action/ReleaseWorkpiece.action
msg/State.msg
srv/Acknowledge.srv
srv/BrakeTest.srv
srv/ChangeIp.srv
srv/FastStop.srv
srv/GripperInfo.srv
srv/ParameterGet.srv
srv/ParameterSet.srv
srv/PrepareForShutdown.srv
srv/ReleaseForManualMovement.srv
srv/Softreset.srv
srv/Stop.srv
DEPENDENCIES
std_msgs
action_msgs
control_msgs
sensor_msgs
diagnostic_msgs
)

ament_export_dependencies(rosidl_default_runtime)

if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
set(ament_cmake_copyright_FOUND TRUE)
ament_lint_auto_find_test_dependencies()
endif()

ament_package()
1 change: 1 addition & 0 deletions schunk_egu_egk_gripper_interfaces/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Schunk EGU/EGK Gripper Interfaces
29 changes: 29 additions & 0 deletions schunk_egu_egk_gripper_interfaces/package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?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>schunk_egu_egk_gripper_interfaces</name>
<version>1.0.0</version>
<description>Provides interface descriptions to communicate with SCHUNK EGU/EGK grippers over ROS 2</description>
<maintainer email="[email protected]">Stefan Scherzinger</maintainer>
<license>todo</license>

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

<exec_depend>rosidl_default_runtime</exec_depend>

<depend>std_msgs</depend>
<depend>action_msgs</depend>
<depend>control_msgs</depend>
<depend>sensor_msgs</depend>
<depend>diagnostic_msgs</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>
Empty file.

0 comments on commit e6e6dbb

Please sign in to comment.