Skip to content

Commit

Permalink
Fixed all licence issues. (#264)
Browse files Browse the repository at this point in the history
* Fixed all licence issues.

* Fixed the lint error

* Fixed the licence.

* Reverted change.
  • Loading branch information
BenStarmerSmith authored Nov 7, 2022
1 parent 5483db7 commit 5cd6388
Show file tree
Hide file tree
Showing 50 changed files with 670 additions and 16 deletions.
14 changes: 14 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2022 Shadow Robot Company Ltd.
#
# 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 version 2 of the License.
#
# 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 <http://www.gnu.org/licenses/>.

version: 2
jobs:
build:
Expand Down
14 changes: 14 additions & 0 deletions aws.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2022 Shadow Robot Company Ltd.
#
# 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 version 2 of the License.
#
# 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 <http://www.gnu.org/licenses/>.

settings:
machine_type: medium
ubuntu:
Expand Down
13 changes: 13 additions & 0 deletions shadow_robot_ethercat/package.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
<!--
Copyright 2022 Shadow Robot Company Ltd.
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 version 2 of the License.
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 <http://www.gnu.org/licenses/>.
-->

<package>
<name>shadow_robot_ethercat</name>
<version>1.4.0</version>
Expand Down
13 changes: 13 additions & 0 deletions sr_edc_ethercat_drivers/ethercat_device_plugin.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
<!--
Copyright 2022 Shadow Robot Company Ltd.
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 version 2 of the License.
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 <http://www.gnu.org/licenses/>.
-->

<library path="lib/libsr_edc_ethercat_drivers">
<class name="0" type="SRBridge" base_class_type="EthercatDevice">
<description>
Expand Down
13 changes: 13 additions & 0 deletions sr_edc_ethercat_drivers/package.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
<!--
Copyright 2022 Shadow Robot Company Ltd.
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 version 2 of the License.
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 <http://www.gnu.org/licenses/>.
-->

<package>
<name>sr_edc_ethercat_drivers</name>
<version>1.4.0</version>
Expand Down
13 changes: 13 additions & 0 deletions sr_edc_ethercat_drivers/scripts/flash_all_motors.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
#!/bin/bash
# Copyright 2022 Shadow Robot Company Ltd.
#
# 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 version 2 of the License.
#
# 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 <http://www.gnu.org/licenses/>.

for i in {11..19} ; do
echo "Flashing motor: $i"
Expand Down
13 changes: 13 additions & 0 deletions sr_edc_launch/hand_ros_control_robot_params.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
<!--
Copyright 2022 Shadow Robot Company Ltd.
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 version 2 of the License.
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 <http://www.gnu.org/licenses/>.
-->

<launch>
<arg name="eth_port"/>
<arg name="left_hand_filter" default="false"/>
Expand Down
13 changes: 13 additions & 0 deletions sr_edc_launch/load_hand_parameters.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
<!--
Copyright 2022 Shadow Robot Company Ltd.
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 version 2 of the License.
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 <http://www.gnu.org/licenses/>.
-->

<launch>
<!-- Set use_ns to true if the hand_id is not empty string. This is necessary as group tag doesn't accept an empty 'ns' attribute -->
<arg name="use_ns" default="true"/>
Expand Down
15 changes: 14 additions & 1 deletion sr_edc_launch/mappings/default_mappings/lh_E_v1.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
##
# Copyright 2022 Shadow Robot Company Ltd.
#
# 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 version 2 of the License.
#
# 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 <http://www.gnu.org/licenses/>.

# This is the mapping from joint to motor index

joint_to_motor_mapping: [
Expand Down
15 changes: 14 additions & 1 deletion sr_edc_launch/mappings/default_mappings/lh_E_v3.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
##
# Copyright 2022 Shadow Robot Company Ltd.
#
# 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 version 2 of the License.
#
# 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 <http://www.gnu.org/licenses/>.

# This is the mapping from joint to motor index

joint_to_motor_mapping: [
Expand Down
15 changes: 14 additions & 1 deletion sr_edc_launch/mappings/default_mappings/lh_E_v4.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
##
# Copyright 2022 Shadow Robot Company Ltd.
#
# 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 version 2 of the License.
#
# 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 <http://www.gnu.org/licenses/>.

# This is the mapping from joint to motor index

joint_to_motor_mapping: [
Expand Down
15 changes: 14 additions & 1 deletion sr_edc_launch/mappings/default_mappings/lh_E_v5.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
##
# Copyright 2022 Shadow Robot Company Ltd.
#
# 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 version 2 of the License.
#
# 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 <http://www.gnu.org/licenses/>.

# This is the mapping from joint to motor index

joint_to_motor_mapping: [
Expand Down
15 changes: 14 additions & 1 deletion sr_edc_launch/mappings/default_mappings/lh_muscle_v1.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2022 Shadow Robot Company Ltd.
#
# 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 version 2 of the License.
#
# 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 <http://www.gnu.org/licenses/>.

##
# This file contains the mapping between the muscles and the joints:
#
Expand All @@ -7,7 +21,6 @@
#
# Every muscle is defined by a pair [muscle_driver_ID, muscle_ID]
# the muscle_ID is relative to a certain muscle driver, e.g. [0, 6] is the 6th muscle of the muscle driver 0.
#
##

joint_to_muscle_mapping: [
Expand Down
15 changes: 14 additions & 1 deletion sr_edc_launch/mappings/default_mappings/rh_E_v1.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
##
# Copyright 2022 Shadow Robot Company Ltd.
#
# 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 version 2 of the License.
#
# 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 <http://www.gnu.org/licenses/>.

# This is the mapping from joint to motor index

joint_to_motor_mapping: [
Expand Down
15 changes: 14 additions & 1 deletion sr_edc_launch/mappings/default_mappings/rh_E_v2.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
##
# Copyright 2022 Shadow Robot Company Ltd.
#
# 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 version 2 of the License.
#
# 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 <http://www.gnu.org/licenses/>.

# This is the mapping from joint to motor index

joint_to_motor_mapping: [
Expand Down
15 changes: 14 additions & 1 deletion sr_edc_launch/mappings/default_mappings/rh_E_v3.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
##
# Copyright 2022 Shadow Robot Company Ltd.
#
# 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 version 2 of the License.
#
# 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 <http://www.gnu.org/licenses/>.

# This is the mapping from joint to motor index

joint_to_motor_mapping: [
Expand Down
15 changes: 14 additions & 1 deletion sr_edc_launch/mappings/default_mappings/rh_E_v3_no_lf.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
##
# Copyright 2022 Shadow Robot Company Ltd.
#
# 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 version 2 of the License.
#
# 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 <http://www.gnu.org/licenses/>.

# This is the mapping from joint to motor index

joint_to_motor_mapping: [
Expand Down
15 changes: 14 additions & 1 deletion sr_edc_launch/mappings/default_mappings/rh_E_v3_no_mf_rf_lf.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
##
# Copyright 2022 Shadow Robot Company Ltd.
#
# 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 version 2 of the License.
#
# 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 <http://www.gnu.org/licenses/>.

# This is the mapping from joint to motor index

joint_to_motor_mapping: [
Expand Down
15 changes: 14 additions & 1 deletion sr_edc_launch/mappings/default_mappings/rh_E_v4.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
##
# Copyright 2022 Shadow Robot Company Ltd.
#
# 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 version 2 of the License.
#
# 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 <http://www.gnu.org/licenses/>.

# This is the mapping from joint to motor index

joint_to_motor_mapping: [
Expand Down
15 changes: 14 additions & 1 deletion sr_edc_launch/mappings/default_mappings/rh_E_v5.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
##
# Copyright 2022 Shadow Robot Company Ltd.
#
# 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 version 2 of the License.
#
# 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 <http://www.gnu.org/licenses/>.

# This is the mapping from joint to motor index

joint_to_motor_mapping: [
Expand Down
15 changes: 14 additions & 1 deletion sr_edc_launch/mappings/default_mappings/rh_extra_lite_v1.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
##
# Copyright 2022 Shadow Robot Company Ltd.
#
# 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 version 2 of the License.
#
# 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 <http://www.gnu.org/licenses/>.

# This is the mapping from joint to motor index

joint_to_motor_mapping: [
Expand Down
Loading

0 comments on commit 5cd6388

Please sign in to comment.