Skip to content

Commit

Permalink
Merge pull request #3 from SCHUNK-SE-Co-KG/add-license
Browse files Browse the repository at this point in the history
Add license
  • Loading branch information
stefanscherzinger authored Apr 20, 2024
2 parents f9fcfe5 + c631f81 commit bd02b94
Show file tree
Hide file tree
Showing 22 changed files with 928 additions and 27 deletions.
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions LICENSES/license_notice.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Copyright 2024 SCHUNK SE & Co. KG
//
// This program is free software: you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option)
// any later version.
//
// This program is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
// more details.
//
// You should have received a copy of the GNU General Public License along with
// this program. If not, see <https://www.gnu.org/licenses/>.
// --------------------------------------------------------------------------------
15 changes: 15 additions & 0 deletions LICENSES/license_notice.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2024 SCHUNK SE & Co. KG
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <https://www.gnu.org/licenses/>.
# --------------------------------------------------------------------------------
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
![build badge](https://github.com/SCHUNK-SE-Co-KG/schunk_egu_egk_gripper/actions/workflows/industrial_ci_humble_action.yml/badge.svg)
![build badge](https://github.com/SCHUNK-SE-Co-KG/schunk_egu_egk_gripper/actions/workflows/industrial_ci_iron_action.yml/badge.svg)
![build badge](https://github.com/SCHUNK-SE-Co-KG/schunk_egu_egk_gripper/actions/workflows/industrial_ci_rolling_action.yml/badge.svg)
[![License](https://img.shields.io/badge/License-GPLv3-orange)](https://opensource.org/licenses/gpl-license)

# Schunk EGU/EGK Gripper

Expand Down
2 changes: 2 additions & 0 deletions schunk_egu_egk_gripper_driver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ install(
# Test
#--------------------------------------------------------------------------------
if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependencies()
endif()

# Ament package configuration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
// Copyright 2024 SCHUNK SE & Co. KG
//
// This program is free software: you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option)
// any later version.
//
// This program is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
// more details.
//
// You should have received a copy of the GNU General Public License along with
// this program. If not, see <https://www.gnu.org/licenses/>.
// --------------------------------------------------------------------------------

/*
* Author: Viktoria Krimer ([email protected])
* Maintainer: Stefan Scherzinger ([email protected])
*/

#ifndef SCHUNK_GRIPPER_WRAPPER_HPP
#define SCHUNK_GRIPPER_WRAPPER_HPP

Expand Down
18 changes: 17 additions & 1 deletion schunk_egu_egk_gripper_driver/launch/schunk_launch.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Copyright 2024 SCHUNK SE & Co. KG
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <https://www.gnu.org/licenses/>.
# --------------------------------------------------------------------------------

import launch
from launch_ros.actions import LoadComposableNodes, Node
from launch_ros.descriptions import ComposableNode
Expand Down Expand Up @@ -35,4 +51,4 @@ def generate_launch_description():
)
],
)
return launch.LaunchDescription([container, load_composable_nodes])
return launch.LaunchDescription([container, load_composable_nodes])
18 changes: 17 additions & 1 deletion schunk_egu_egk_gripper_driver/launch/schunk_rqt_launch.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Copyright 2024 SCHUNK SE & Co. KG
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <https://www.gnu.org/licenses/>.
# --------------------------------------------------------------------------------

import launch
from launch_ros.actions import LoadComposableNodes, Node
from launch_ros.descriptions import ComposableNode
Expand Down Expand Up @@ -40,4 +56,4 @@ def generate_launch_description():
],
)

return launch.LaunchDescription([container, load_composable_nodes, rqt_launch])
return launch.LaunchDescription([container, load_composable_nodes, rqt_launch])
9 changes: 5 additions & 4 deletions schunk_egu_egk_gripper_driver/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<version>1.0.0</version>
<description>ROS2 driver for Schunk's EGU/EGK grippers</description>
<author>Viktora Krimer</author>
<author>Fabian Reinwald</author>
<author email="[email protected]">Fabian Reinwald</author>
<maintainer email="[email protected]">Stefan Scherzinger</maintainer>

<license>todo</license>
<license>GPL-3.0-or-later</license>

<buildtool_depend>ament_cmake</buildtool_depend>

Expand All @@ -23,10 +23,11 @@

<exec_depend>ros2launch</exec_depend>

<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_cmake_copyright</test_depend>

<export>
<build_type>ament_cmake</build_type>
</export>

</package>


21 changes: 21 additions & 0 deletions schunk_egu_egk_gripper_driver/src/schunk_gripper_wrapper.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
// Copyright 2024 SCHUNK SE & Co. KG
//
// This program is free software: you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option)
// any later version.
//
// This program is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
// more details.
//
// You should have received a copy of the GNU General Public License along with
// this program. If not, see <https://www.gnu.org/licenses/>.
// --------------------------------------------------------------------------------

/*
* Author: Viktoria Krimer ([email protected])
* Maintainer: Stefan Scherzinger ([email protected])
*/

#include "schunk_egu_egk_gripper_driver/schunk_gripper_wrapper.hpp"

std::map<std::string, const char*> param_inst =
Expand Down
2 changes: 2 additions & 0 deletions schunk_egu_egk_gripper_examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ install(TARGETS
# Test
#--------------------------------------------------------------------------------
if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependencies()
endif()

# Ament package configuration
Expand Down
7 changes: 5 additions & 2 deletions schunk_egu_egk_gripper_examples/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<version>1.0.0</version>
<description>Example node for Schunk's EGU/EGK driver interfaces</description>
<author>Viktora Krimer</author>
<author>Fabian Reinwald</author>
<author email="[email protected]">Fabian Reinwald</author>
<maintainer email="[email protected]">Stefan Scherzinger</maintainer>

<license>todo</license>
<license>GPL-3.0-or-later</license>

<buildtool_depend>ament_cmake</buildtool_depend>

Expand All @@ -19,6 +19,9 @@
<depend>control_msgs</depend>
<depend>sensor_msgs</depend>

<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_cmake_copyright</test_depend>

<export>
<build_type>ament_cmake</build_type>
</export>
Expand Down
21 changes: 21 additions & 0 deletions schunk_egu_egk_gripper_examples/src/gripper_example.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
// Copyright 2024 SCHUNK SE & Co. KG
//
// This program is free software: you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option)
// any later version.
//
// This program is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
// more details.
//
// You should have received a copy of the GNU General Public License along with
// this program. If not, see <https://www.gnu.org/licenses/>.
// --------------------------------------------------------------------------------

/*
* Author: Viktoria Krimer ([email protected])
* Maintainer: Stefan Scherzinger ([email protected])
*/

//This Client shows you how to control your gripper in program. If you do something else, as long as the program works,
//this program will exhibit undefined behavior.
#include "rclcpp/rclcpp.hpp"
Expand Down
1 change: 0 additions & 1 deletion schunk_egu_egk_gripper_interfaces/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ 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()

Expand Down
4 changes: 2 additions & 2 deletions schunk_egu_egk_gripper_interfaces/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<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>
<license>GPL-3.0-or-later</license>

<buildtool_depend>ament_cmake</buildtool_depend>
<buildtool_depend>rosidl_default_generators</buildtool_depend>
Expand All @@ -19,7 +19,7 @@
<depend>diagnostic_msgs</depend>

<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>
<test_depend>ament_cmake_copyright</test_depend>

<member_of_group>rosidl_interface_packages</member_of_group>

Expand Down
1 change: 0 additions & 1 deletion schunk_egu_egk_gripper_library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,3 @@ install(
# Test
#--------------------------------------------------------------------------------
enable_testing()

Original file line number Diff line number Diff line change
@@ -1,15 +1,32 @@
// Copyright 2024 SCHUNK SE & Co. KG
//
// This program is free software: you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option)
// any later version.
//
// This program is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
// more details.
//
// You should have received a copy of the GNU General Public License along with
// this program. If not, see <https://www.gnu.org/licenses/>.
// --------------------------------------------------------------------------------

/*
* Author: Viktoria Krimer ([email protected])
* Maintainer: Viktoria Krimer ([email protected])
* Created: DECEMBER 2023
*
* Maintainer: Stefan Scherzinger ([email protected])
*/


/*
* Definitions to communicate with the Gripper via AnybusCom 40.
*
* This task involves receiving a ByteString via HTTP, interpreting it,
* and posting a ByteString if any action needs to be performed by the gripper.
*/


#ifndef COMMUNICATION_HPP
#define COMMUNICATION_HPP

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
// Copyright 2024 SCHUNK SE & Co. KG
//
// This program is free software: you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option)
// any later version.
//
// This program is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
// more details.
//
// You should have received a copy of the GNU General Public License along with
// this program. If not, see <https://www.gnu.org/licenses/>.
// --------------------------------------------------------------------------------

/*
* Author: Viktoria Krimer ([email protected])
* Maintainer: Viktoria Krimer ([email protected])
* Created: DECEMBER 2023
*
* Maintainer: Stefan Scherzinger ([email protected])
*/

/*
* Definitions for implementing common procedures to communicate with the gripper.
*
* The gripper initializes at the beginning. It acts as the middleware between
Expand Down
6 changes: 4 additions & 2 deletions schunk_egu_egk_gripper_library/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
<version>1.0.0</version>
<description>Standalone C++ library for Schunk's EGU/EGK grippers</description>
<author>Viktora Krimer</author>
<author>Fabian Reinwald</author>
<author email="[email protected]">Fabian Reinwald</author>
<maintainer email="[email protected]">Stefan Scherzinger</maintainer>

<license>todo</license>
<license>GPL-3.0-or-later</license>

<buildtool_depend>cmake</buildtool_depend>
<test_depend>ament_copyright</test_depend>

<export>
<build_type>cmake</build_type>
</export>
Expand Down
23 changes: 20 additions & 3 deletions schunk_egu_egk_gripper_library/src/communication.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
// Copyright 2024 SCHUNK SE & Co. KG
//
// This program is free software: you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option)
// any later version.
//
// This program is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
// more details.
//
// You should have received a copy of the GNU General Public License along with
// this program. If not, see <https://www.gnu.org/licenses/>.
// --------------------------------------------------------------------------------

/*
* Author: Viktoria Krimer ([email protected])
* Maintainer: Viktoria Krimer ([email protected])
* Created: DECEMBER 2023
*
* Maintainer: Stefan Scherzinger ([email protected])
*/

/*
* Implementation to communicate with the Gripper via AnybusCom 40.
*
* This task involves receiving a ByteString via HTTP, interpreting it,
Expand Down
Loading

0 comments on commit bd02b94

Please sign in to comment.