Skip to content

Commit

Permalink
License the repo under the BSD-3-Clause license (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro committed Sep 6, 2023
1 parent 3b6c959 commit 50078d5
Show file tree
Hide file tree
Showing 20 changed files with 67 additions and 614 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Authors: Giulio Romualdi
# CopyPolicy: Released under the terms of the LGPLv2.1 or later
# SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
# SPDX-License-Identifier: BSD-3-Clause

# Set cmake mimimun version
cmake_minimum_required(VERSION 3.5)
Expand Down
532 changes: 28 additions & 504 deletions LICENSE

Large diffs are not rendered by default.

15 changes: 2 additions & 13 deletions cmake/AddInstallRPATHSupport.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,8 @@
# Note: see https://gitlab.kitware.com/cmake/cmake/issues/16589 for further
# details.

#=======================================================================
# Copyright 2014 Istituto Italiano di Tecnologia (IIT)
# @author Francesco Romano <francesco.romano@iit.it>
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=======================================================================
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
# SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
# SPDX-License-Identifier: BSD-3-Clause


include(CMakeParseArguments)
Expand Down
4 changes: 2 additions & 2 deletions cmake/AddLieGroupControllersUnitTest.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This software may be modified and distributed under the terms of the
# GNU Lesser General Public License v2.1 or any later version.
# SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
# SPDX-License-Identifier: BSD-3-Clause

include(FetchContent)
FetchContent_Declare(Catch2
Expand Down
16 changes: 2 additions & 14 deletions cmake/AddUninstallTarget.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,8 @@
# custom target uninstall that will remove the files installed by your package
# (using install_manifest.txt)

#=============================================================================
# Copyright 2008-2013 Kitware, Inc.
# Copyright 2013 iCub Facility, Istituto Italiano di Tecnologia
# Authors: Daniele E. Domenichelli <daniele.domenichelli@iit.it>
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
# SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
# SPDX-License-Identifier: BSD-3-Clause


if(DEFINED __ADD_UNINSTALL_TARGET_INCLUDED)
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindVALGRIND.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
# SPDX-License-Identifier: BSD-3-Clause
#
# Find Valgrind.
#
# This module defines:
Expand Down
15 changes: 2 additions & 13 deletions cmake/InstallBasicPackageFiles.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -209,19 +209,8 @@
# If the ``COMPONENT`` argument is passed, it is forwarded to the
# :command:`install` commands, otherwise <Name> is used.

#=============================================================================
# Copyright 2013 Istituto Italiano di Tecnologia (IIT)
# Authors: Daniele E. Domenichelli <daniele.domenichelli@iit.it>
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
# SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
# SPDX-License-Identifier: BSD-3-Clause


if(COMMAND install_basic_package_files)
Expand Down
4 changes: 2 additions & 2 deletions cmake/LieGroupControllersDependencies.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Authors: Giulio Romualdi
# CopyPolicy: Released under the terms of the LGPLv2.1 or later
# SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
# SPDX-License-Identifier: BSD-3-Clause

include(LieGroupControllersFindOptionalDependencies)

Expand Down
4 changes: 2 additions & 2 deletions cmake/LieGroupControllersFindOptionalDependencies.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This software may be modified and distributed under the terms of the
# GNU Lesser General Public License v2.1 or any later version.
# SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
# SPDX-License-Identifier: BSD-3-Clause
#
# This module checks if all the dependencies are installed and if the
# dependencies to build some parts are satisfied.
Expand Down
8 changes: 2 additions & 6 deletions include/LieGroupControllers/ProportionalController.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/**
* @file ProportionalController.h
* @authors Giulio Romualdi
* @copyright This software may be modified and distributed under the terms of
* the GNU Lesser General Public License v2.1 or any later version.
*/
// SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
// SPDX-License-Identifier: BSD-3-Clause

#ifndef LIE_GROUP_CONTROLLERS_PROPORTIONAL_CONTROLLER_H
#define LIE_GROUP_CONTROLLERS_PROPORTIONAL_CONTROLLER_H
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/**
* @file ProportionalDerivativeController.h
* @authors Giulio Romualdi
* @copyright This software may be modified and distributed under the terms of
* the GNU Lesser General Public License v2.1 or any later version.
*/
// SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
// SPDX-License-Identifier: BSD-3-Clause

#ifndef LIE_GROUP_CONTROLLERS_PROPORTIONAL_DERIVATIVE_CONTROLLER_H
#define LIE_GROUP_CONTROLLERS_PROPORTIONAL_DERIVATIVE_CONTROLLER_H
Expand Down
8 changes: 2 additions & 6 deletions include/LieGroupControllers/impl/ControllerBase.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/**
* @file ControllerBase.h
* @authors Giulio Romualdi
* @copyright This software may be modified and distributed under the terms of
* the GNU Lesser General Public License v2.1 or any later version.
*/
// SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
// SPDX-License-Identifier: BSD-3-Clause

#ifndef LIE_GROUP_CONTROLLERS_IMPL_CONTROLLER_BASE_H
#define LIE_GROUP_CONTROLLERS_IMPL_CONTROLLER_BASE_H
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/**
* @file Controller.h
* @authors Giulio Romualdi
* @copyright This software may be modified and distributed under the terms of
* the GNU Lesser General Public License v2.1 or any later version.
*/
// SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
// SPDX-License-Identifier: BSD-3-Clause

#ifndef LIE_GROUP_CONTROLLERS_IMPL_PROPORTIONAL_CONTROLLER_CONTROLLER_H
#define LIE_GROUP_CONTROLLERS_IMPL_PROPORTIONAL_CONTROLLER_CONTROLLER_H
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/**
* @file ControllerBase.h
* @authors Giulio Romualdi
* @copyright This software may be modified and distributed under the terms of
* the GNU Lesser General Public License v2.1 or any later version.
*/
// SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
// SPDX-License-Identifier: BSD-3-Clause

#ifndef LIE_GROUP_CONTROLLERS_IMPL_PROPORTIONAL_CONTROLLER_CONTROLLER_BASE_H
#define LIE_GROUP_CONTROLLERS_IMPL_PROPORTIONAL_CONTROLLER_CONTROLLER_BASE_H
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/**
* @file Controller.h
* @authors Giulio Romualdi
* @copyright This software may be modified and distributed under the terms of
* the GNU Lesser General Public License v2.1 or any later version.
*/
// SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
// SPDX-License-Identifier: BSD-3-Clause

#ifndef LIE_GROUP_CONTROLLERS_IMPL_PROPORTIONAL_DERIVATIVE_CONTROLLER_CONTROLLER_H
#define LIE_GROUP_CONTROLLERS_IMPL_PROPORTIONAL_DERIVATIVE_CONTROLLER_CONTROLLER_H
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/**
* @file ControllerBase.h
* @authors Giulio Romualdi
* @copyright This software may be modified and distributed under the terms of
* the GNU Lesser General Public License v2.1 or any later version.
*/
// SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
// SPDX-License-Identifier: BSD-3-Clause

#ifndef LIE_GROUP_CONTROLLERS_IMPL_PROPORTIONAL_DERIVATIVE_CONTROLLER_CONTROLLER_BASE_H
#define LIE_GROUP_CONTROLLERS_IMPL_PROPORTIONAL_DERIVATIVE_CONTROLLER_CONTROLLER_BASE_H
Expand Down
8 changes: 2 additions & 6 deletions include/LieGroupControllers/impl/traits.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/**
* @file traits.h
* @authors Giulio Romualdi
* @copyright This software may be modified and distributed under the terms of
* the GNU Lesser General Public License v2.1 or any later version.
*/
// SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
// SPDX-License-Identifier: BSD-3-Clause

#ifndef LIE_GROUP_CONTROLLERS_IMPL_TRAITS_H
#define LIE_GROUP_CONTROLLERS_IMPL_TRAITS_H
Expand Down
4 changes: 2 additions & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Authors: Giulio Romualdi
# CopyPolicy: Released under the terms of the LGPLv2.1 or later
# SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
# SPDX-License-Identifier: BSD-3-Clause

add_liegroupcontrollers_test(
NAME ProportionalController
Expand Down
8 changes: 2 additions & 6 deletions tests/ProportionalControllerTest.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/**
* @file ProportionalControllerTest.cpp
* @author Giulio Romualdi
* @copyright Released under the terms of the LGPLv2.1 or later, see LGPL.TXT
* @date 2020
*/
// SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
// SPDX-License-Identifier: BSD-3-Clause

// Catch2
#include <catch2/catch.hpp>
Expand Down
8 changes: 2 additions & 6 deletions tests/ProportionalDerivativeControllerTest.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/**
* @file ProportionalDerivativeControllerTest.cpp
* @author Giulio Romualdi
* @copyright Released under the terms of the LGPLv2.1 or later, see LGPL.TXT
* @date 2020
*/
// SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
// SPDX-License-Identifier: BSD-3-Clause

// Catch2
#include <catch2/catch.hpp>
Expand Down

0 comments on commit 50078d5

Please sign in to comment.