diff --git a/mower/solvers/sign_in/__init__.py b/mower/solvers/sign_in/__init__.py index e90ea24c..6bece6e1 100644 --- a/mower/solvers/sign_in/__init__.py +++ b/mower/solvers/sign_in/__init__.py @@ -1,3 +1,21 @@ +""" +Copyright (c) 2024 zhbaor + +This file is part of mower-ng (https://git.zhaozuohong.vip/mower-ng/mower-ng). + +Mower-ng is free software: you may copy, redistribute and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation, version 3 or later. + +This file 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 . +""" + from datetime import datetime from mower.utils import config diff --git a/mower/solvers/sign_in/headhunting.py b/mower/solvers/sign_in/headhunting.py index 294a13bd..5c6688a2 100644 --- a/mower/solvers/sign_in/headhunting.py +++ b/mower/solvers/sign_in/headhunting.py @@ -1,3 +1,21 @@ +""" +Copyright (c) 2024 zhbaor + +This file is part of mower-ng (https://git.zhaozuohong.vip/mower-ng/mower-ng). + +Mower-ng is free software: you may copy, redistribute and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation, version 3 or later. + +This file 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 . +""" + from datetime import timedelta from mower.utils import config diff --git a/mower/solvers/sign_in/moon_festival.py b/mower/solvers/sign_in/moon_festival.py index ee302f22..5c9ae8d3 100644 --- a/mower/solvers/sign_in/moon_festival.py +++ b/mower/solvers/sign_in/moon_festival.py @@ -1,3 +1,21 @@ +""" +Copyright (c) 2024 zhbaor + +This file is part of mower-ng (https://git.zhaozuohong.vip/mower-ng/mower-ng). + +Mower-ng is free software: you may copy, redistribute and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation, version 3 or later. + +This file 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 . +""" + import cv2 from mower.utils import config diff --git a/mower/solvers/sign_in/orundum.py b/mower/solvers/sign_in/orundum.py index f450c900..e94e97e3 100644 --- a/mower/solvers/sign_in/orundum.py +++ b/mower/solvers/sign_in/orundum.py @@ -1,3 +1,21 @@ +""" +Copyright (c) 2024 zhbaor + +This file is part of mower-ng (https://git.zhaozuohong.vip/mower-ng/mower-ng). + +Mower-ng is free software: you may copy, redistribute and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation, version 3 or later. + +This file 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 . +""" + from datetime import timedelta from mower.utils import config diff --git a/mower/solvers/sign_in/sign_in.py b/mower/solvers/sign_in/sign_in.py index 7d731055..dd23b3d6 100644 --- a/mower/solvers/sign_in/sign_in.py +++ b/mower/solvers/sign_in/sign_in.py @@ -1,3 +1,21 @@ +""" +Copyright (c) 2024 zhbaor + +This file is part of mower-ng (https://git.zhaozuohong.vip/mower-ng/mower-ng). + +Mower-ng is free software: you may copy, redistribute and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation, version 3 or later. + +This file 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 . +""" + from datetime import timedelta import cv2 diff --git a/mower/utils/number.py b/mower/utils/number.py index cd37e3fc..dd7662f2 100644 --- a/mower/utils/number.py +++ b/mower/utils/number.py @@ -1,3 +1,22 @@ +""" +Copyright (c) 2024 Elaina <2901432375@qq.com> +Copyright (c) 2024 zhbaor + +This file is part of mower-ng (https://git.zhaozuohong.vip/mower-ng/mower-ng). + +Mower-ng is free software: you may copy, redistribute and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation, version 3 or later. + +This file 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 . +""" + from typing import Literal import cv2 diff --git a/mower/utils/operators.py b/mower/utils/operators.py index 0a72918d..5fae0df3 100644 --- a/mower/utils/operators.py +++ b/mower/utils/operators.py @@ -1,3 +1,44 @@ +""" +Copyright (c) 2024 zhbaor + +This file is part of mower-ng (https://git.zhaozuohong.vip/mower-ng/mower-ng). + +Mower-ng is free software: you may copy, redistribute and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation, version 3 or later. + +This file 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 . + +This file incorporates work covered by the following copyright and +permission notice: + + Copyright (c) 2023 Shawnsdaddy + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. +""" + import copy from datetime import datetime, timedelta diff --git a/mower/utils/path.py b/mower/utils/path.py index cb7510c4..705b70ef 100644 --- a/mower/utils/path.py +++ b/mower/utils/path.py @@ -1,3 +1,46 @@ +""" +Copyright (c) 2024 Elaina <2901432375@qq.com> +Copyright (c) 2024 zhbaor + +This file is part of mower-ng (https://git.zhaozuohong.vip/mower-ng/mower-ng). + +Mower-ng is free software: you may copy, redistribute and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation, version 3 or later. + +This file 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 . + +This file incorporates work covered by the following copyright and +permission notice: + + Copyright (c) 2023 Funny_ppt <1763341376@qq.com> + Copyright (c) 2023 Shawnsdaddy + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. +""" + import os from pathlib import Path diff --git a/mower/utils/plan.py b/mower/utils/plan.py index 4df7b258..2f6bc0af 100644 --- a/mower/utils/plan.py +++ b/mower/utils/plan.py @@ -1,3 +1,44 @@ +""" +Copyright (c) 2024 zhbaor + +This file is part of mower-ng (https://git.zhaozuohong.vip/mower-ng/mower-ng). + +Mower-ng is free software: you may copy, redistribute and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation, version 3 or later. + +This file 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 . + +This file incorporates work covered by the following copyright and +permission notice: + + Copyright (c) 2023 Shawnsdaddy + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. +""" + import copy from enum import Enum from typing import Optional, Self