Skip to content

Commit 53e6890

Browse files
authored
photon-serde: Relicense generated files under MIT (#1709)
1 parent 83c124f commit 53e6890

35 files changed

+666
-421
lines changed

photon-lib/py/photonlibpy/generated/MultiTargetPNPResultSerde.py

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,26 @@
1-
###############################################################################
2-
## Copyright (C) Photon Vision.
3-
###############################################################################
4-
## This program is free software: you can redistribute it and/or modify
5-
## it under the terms of the GNU General Public License as published by
6-
## the Free Software Foundation, either version 3 of the License, or
7-
## (at your option) any later version.
8-
##
9-
## This program is distributed in the hope that it will be useful,
10-
## but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
## GNU General Public License for more details.
13-
##
14-
## You should have received a copy of the GNU General Public License
15-
## along with this program. If not, see <https://www.gnu.org/licenses/>.
16-
###############################################################################
1+
#
2+
# MIT License
3+
#
4+
# Copyright (c) PhotonVision
5+
#
6+
# Permission is hereby granted, free of charge, to any person obtaining a copy
7+
# of this software and associated documentation files (the "Software"), to deal
8+
# in the Software without restriction, including without limitation the rights
9+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
# copies of the Software, and to permit persons to whom the Software is
11+
# furnished to do so, subject to the following conditions:
12+
#
13+
# The above copyright notice and this permission notice shall be included in all
14+
# copies or substantial portions of the Software.
15+
#
16+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
# SOFTWARE.
23+
#
1724

1825
###############################################################################
1926
## THIS FILE WAS AUTO-GENERATED BY ./photon-serde/generate_messages.py.

photon-lib/py/photonlibpy/generated/PhotonPipelineMetadataSerde.py

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,26 @@
1-
###############################################################################
2-
## Copyright (C) Photon Vision.
3-
###############################################################################
4-
## This program is free software: you can redistribute it and/or modify
5-
## it under the terms of the GNU General Public License as published by
6-
## the Free Software Foundation, either version 3 of the License, or
7-
## (at your option) any later version.
8-
##
9-
## This program is distributed in the hope that it will be useful,
10-
## but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
## GNU General Public License for more details.
13-
##
14-
## You should have received a copy of the GNU General Public License
15-
## along with this program. If not, see <https://www.gnu.org/licenses/>.
16-
###############################################################################
1+
#
2+
# MIT License
3+
#
4+
# Copyright (c) PhotonVision
5+
#
6+
# Permission is hereby granted, free of charge, to any person obtaining a copy
7+
# of this software and associated documentation files (the "Software"), to deal
8+
# in the Software without restriction, including without limitation the rights
9+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
# copies of the Software, and to permit persons to whom the Software is
11+
# furnished to do so, subject to the following conditions:
12+
#
13+
# The above copyright notice and this permission notice shall be included in all
14+
# copies or substantial portions of the Software.
15+
#
16+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
# SOFTWARE.
23+
#
1724

1825
###############################################################################
1926
## THIS FILE WAS AUTO-GENERATED BY ./photon-serde/generate_messages.py.

photon-lib/py/photonlibpy/generated/PhotonPipelineResultSerde.py

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,26 @@
1-
###############################################################################
2-
## Copyright (C) Photon Vision.
3-
###############################################################################
4-
## This program is free software: you can redistribute it and/or modify
5-
## it under the terms of the GNU General Public License as published by
6-
## the Free Software Foundation, either version 3 of the License, or
7-
## (at your option) any later version.
8-
##
9-
## This program is distributed in the hope that it will be useful,
10-
## but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
## GNU General Public License for more details.
13-
##
14-
## You should have received a copy of the GNU General Public License
15-
## along with this program. If not, see <https://www.gnu.org/licenses/>.
16-
###############################################################################
1+
#
2+
# MIT License
3+
#
4+
# Copyright (c) PhotonVision
5+
#
6+
# Permission is hereby granted, free of charge, to any person obtaining a copy
7+
# of this software and associated documentation files (the "Software"), to deal
8+
# in the Software without restriction, including without limitation the rights
9+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
# copies of the Software, and to permit persons to whom the Software is
11+
# furnished to do so, subject to the following conditions:
12+
#
13+
# The above copyright notice and this permission notice shall be included in all
14+
# copies or substantial portions of the Software.
15+
#
16+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
# SOFTWARE.
23+
#
1724

1825
###############################################################################
1926
## THIS FILE WAS AUTO-GENERATED BY ./photon-serde/generate_messages.py.

photon-lib/py/photonlibpy/generated/PhotonTrackedTargetSerde.py

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,26 @@
1-
###############################################################################
2-
## Copyright (C) Photon Vision.
3-
###############################################################################
4-
## This program is free software: you can redistribute it and/or modify
5-
## it under the terms of the GNU General Public License as published by
6-
## the Free Software Foundation, either version 3 of the License, or
7-
## (at your option) any later version.
8-
##
9-
## This program is distributed in the hope that it will be useful,
10-
## but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
## GNU General Public License for more details.
13-
##
14-
## You should have received a copy of the GNU General Public License
15-
## along with this program. If not, see <https://www.gnu.org/licenses/>.
16-
###############################################################################
1+
#
2+
# MIT License
3+
#
4+
# Copyright (c) PhotonVision
5+
#
6+
# Permission is hereby granted, free of charge, to any person obtaining a copy
7+
# of this software and associated documentation files (the "Software"), to deal
8+
# in the Software without restriction, including without limitation the rights
9+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
# copies of the Software, and to permit persons to whom the Software is
11+
# furnished to do so, subject to the following conditions:
12+
#
13+
# The above copyright notice and this permission notice shall be included in all
14+
# copies or substantial portions of the Software.
15+
#
16+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
# SOFTWARE.
23+
#
1724

1825
###############################################################################
1926
## THIS FILE WAS AUTO-GENERATED BY ./photon-serde/generate_messages.py.

photon-lib/py/photonlibpy/generated/PnpResultSerde.py

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,26 @@
1-
###############################################################################
2-
## Copyright (C) Photon Vision.
3-
###############################################################################
4-
## This program is free software: you can redistribute it and/or modify
5-
## it under the terms of the GNU General Public License as published by
6-
## the Free Software Foundation, either version 3 of the License, or
7-
## (at your option) any later version.
8-
##
9-
## This program is distributed in the hope that it will be useful,
10-
## but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
## GNU General Public License for more details.
13-
##
14-
## You should have received a copy of the GNU General Public License
15-
## along with this program. If not, see <https://www.gnu.org/licenses/>.
16-
###############################################################################
1+
#
2+
# MIT License
3+
#
4+
# Copyright (c) PhotonVision
5+
#
6+
# Permission is hereby granted, free of charge, to any person obtaining a copy
7+
# of this software and associated documentation files (the "Software"), to deal
8+
# in the Software without restriction, including without limitation the rights
9+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
# copies of the Software, and to permit persons to whom the Software is
11+
# furnished to do so, subject to the following conditions:
12+
#
13+
# The above copyright notice and this permission notice shall be included in all
14+
# copies or substantial portions of the Software.
15+
#
16+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
# SOFTWARE.
23+
#
1724

1825
###############################################################################
1926
## THIS FILE WAS AUTO-GENERATED BY ./photon-serde/generate_messages.py.

photon-lib/py/photonlibpy/generated/TargetCornerSerde.py

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,26 @@
1-
###############################################################################
2-
## Copyright (C) Photon Vision.
3-
###############################################################################
4-
## This program is free software: you can redistribute it and/or modify
5-
## it under the terms of the GNU General Public License as published by
6-
## the Free Software Foundation, either version 3 of the License, or
7-
## (at your option) any later version.
8-
##
9-
## This program is distributed in the hope that it will be useful,
10-
## but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
## GNU General Public License for more details.
13-
##
14-
## You should have received a copy of the GNU General Public License
15-
## along with this program. If not, see <https://www.gnu.org/licenses/>.
16-
###############################################################################
1+
#
2+
# MIT License
3+
#
4+
# Copyright (c) PhotonVision
5+
#
6+
# Permission is hereby granted, free of charge, to any person obtaining a copy
7+
# of this software and associated documentation files (the "Software"), to deal
8+
# in the Software without restriction, including without limitation the rights
9+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
# copies of the Software, and to permit persons to whom the Software is
11+
# furnished to do so, subject to the following conditions:
12+
#
13+
# The above copyright notice and this permission notice shall be included in all
14+
# copies or substantial portions of the Software.
15+
#
16+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
# SOFTWARE.
23+
#
1724

1825
###############################################################################
1926
## THIS FILE WAS AUTO-GENERATED BY ./photon-serde/generate_messages.py.

photon-serde/templates/Message.java.jinja

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,25 @@
11
/*
2-
* Copyright (C) Photon Vision.
2+
* MIT License
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License, or
7-
* (at your option) any later version.
4+
* Copyright (c) PhotonVision
85
*
9-
* This program is distributed in the hope that it will be useful,
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
6+
* Permission is hereby granted, free of charge, to any person obtaining a copy
7+
* of this software and associated documentation files (the "Software"), to deal
8+
* in the Software without restriction, including without limitation the rights
9+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
* copies of the Software, and to permit persons to whom the Software is
11+
* furnished to do so, subject to the following conditions:
1312
*
14-
* You should have received a copy of the GNU General Public License
15-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
13+
* The above copyright notice and this permission notice shall be included in all
14+
* copies or substantial portions of the Software.
15+
*
16+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
* SOFTWARE.
1623
*/
1724

1825
// THIS FILE WAS AUTO-GENERATED BY ./photon-serde/generate_messages.py. DO NOT MODIFY

photon-serde/templates/ThingSerde.cpp.jinja

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,25 @@
11
/*
2-
* Copyright (C) Photon Vision.
2+
* MIT License
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License, or
7-
* (at your option) any later version.
4+
* Copyright (c) PhotonVision
85
*
9-
* This program is distributed in the hope that it will be useful,
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
6+
* Permission is hereby granted, free of charge, to any person obtaining a copy
7+
* of this software and associated documentation files (the "Software"), to deal
8+
* in the Software without restriction, including without limitation the rights
9+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
* copies of the Software, and to permit persons to whom the Software is
11+
* furnished to do so, subject to the following conditions:
1312
*
14-
* You should have received a copy of the GNU General Public License
15-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
13+
* The above copyright notice and this permission notice shall be included in all
14+
* copies or substantial portions of the Software.
15+
*
16+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
* SOFTWARE.
1623
*/
1724

1825
// THIS FILE WAS AUTO-GENERATED BY ./photon-serde/generate_messages.py. DO NOT MODIFY

photon-serde/templates/ThingSerde.h.jinja

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,25 @@
11
/*
2-
* Copyright (C) Photon Vision.
2+
* MIT License
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License, or
7-
* (at your option) any later version.
4+
* Copyright (c) PhotonVision
85
*
9-
* This program is distributed in the hope that it will be useful,
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
6+
* Permission is hereby granted, free of charge, to any person obtaining a copy
7+
* of this software and associated documentation files (the "Software"), to deal
8+
* in the Software without restriction, including without limitation the rights
9+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
* copies of the Software, and to permit persons to whom the Software is
11+
* furnished to do so, subject to the following conditions:
1312
*
14-
* You should have received a copy of the GNU General Public License
15-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
13+
* The above copyright notice and this permission notice shall be included in all
14+
* copies or substantial portions of the Software.
15+
*
16+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
* SOFTWARE.
1623
*/
1724

1825
#pragma once

0 commit comments

Comments
 (0)