From ce5b12b7e14754f0d11c3ada2d06497efcd72b27 Mon Sep 17 00:00:00 2001 From: cont-integration <CI@iri.upc.edu> Date: Tue, 28 Jan 2025 16:26:34 +0100 Subject: [PATCH 1/3] [skip ci] license headers added or modified --- include/gnss_utils/gnss_utils.h | 4 ++-- include/gnss_utils/navigation.h | 4 ++-- include/gnss_utils/observations.h | 4 ++-- include/gnss_utils/range.h | 4 ++-- include/gnss_utils/receiver_raw_base.h | 4 ++-- include/gnss_utils/receivers/novatel_raw.h | 4 ++-- include/gnss_utils/receivers/ublox_raw.h | 4 ++-- include/gnss_utils/snapshot.h | 4 ++-- include/gnss_utils/tdcp.h | 4 ++-- include/gnss_utils/utils/chisquare_ci.h | 4 ++-- include/gnss_utils/utils/chisquare_ci_maps.h | 4 ++-- include/gnss_utils/utils/rcv_position.h | 4 ++-- include/gnss_utils/utils/satellite.h | 4 ++-- include/gnss_utils/utils/transformations.h | 4 ++-- include/gnss_utils/utils/utils.h | 4 ++-- scripts/{license_header_2024.txt => license_header_2025.txt} | 2 +- src/examples/gnss_utils_test.cpp | 4 ++-- src/navigation.cpp | 4 ++-- src/observations.cpp | 4 ++-- src/range.cpp | 4 ++-- src/receiver_raw_base.cpp | 4 ++-- src/receivers/novatel_raw.cpp | 4 ++-- src/receivers/ublox_raw.cpp | 4 ++-- src/snapshot.cpp | 4 ++-- src/tdcp.cpp | 4 ++-- src/utils/rcv_position.cpp | 4 ++-- src/utils/satellite.cpp | 4 ++-- src/utils/transformations.cpp | 4 ++-- src/utils/utils.cpp | 4 ++-- test/gtest/utils_gtest.h | 4 ++-- test/gtest_chisquare.cpp | 4 ++-- test/gtest_example.cpp | 4 ++-- test/gtest_navigation.cpp | 4 ++-- test/gtest_observations.cpp | 4 ++-- test/gtest_tdcp.cpp | 4 ++-- test/gtest_transformations.cpp | 4 ++-- 36 files changed, 71 insertions(+), 71 deletions(-) rename scripts/{license_header_2024.txt => license_header_2025.txt} (88%) diff --git a/include/gnss_utils/gnss_utils.h b/include/gnss_utils/gnss_utils.h index 45c2972..a7c2dcc 100644 --- a/include/gnss_utils/gnss_utils.h +++ b/include/gnss_utils/gnss_utils.h @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/include/gnss_utils/navigation.h b/include/gnss_utils/navigation.h index 07535c4..af567d1 100644 --- a/include/gnss_utils/navigation.h +++ b/include/gnss_utils/navigation.h @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/include/gnss_utils/observations.h b/include/gnss_utils/observations.h index 53ff2b8..96280eb 100644 --- a/include/gnss_utils/observations.h +++ b/include/gnss_utils/observations.h @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/include/gnss_utils/range.h b/include/gnss_utils/range.h index 54bfd9c..bd5016c 100644 --- a/include/gnss_utils/range.h +++ b/include/gnss_utils/range.h @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/include/gnss_utils/receiver_raw_base.h b/include/gnss_utils/receiver_raw_base.h index bf7c8e8..90ecfc4 100644 --- a/include/gnss_utils/receiver_raw_base.h +++ b/include/gnss_utils/receiver_raw_base.h @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/include/gnss_utils/receivers/novatel_raw.h b/include/gnss_utils/receivers/novatel_raw.h index fe22227..845c51c 100644 --- a/include/gnss_utils/receivers/novatel_raw.h +++ b/include/gnss_utils/receivers/novatel_raw.h @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/include/gnss_utils/receivers/ublox_raw.h b/include/gnss_utils/receivers/ublox_raw.h index 25e1c6f..c560e1d 100644 --- a/include/gnss_utils/receivers/ublox_raw.h +++ b/include/gnss_utils/receivers/ublox_raw.h @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/include/gnss_utils/snapshot.h b/include/gnss_utils/snapshot.h index 2730748..009a43d 100644 --- a/include/gnss_utils/snapshot.h +++ b/include/gnss_utils/snapshot.h @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/include/gnss_utils/tdcp.h b/include/gnss_utils/tdcp.h index fbf308a..efbf400 100644 --- a/include/gnss_utils/tdcp.h +++ b/include/gnss_utils/tdcp.h @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/include/gnss_utils/utils/chisquare_ci.h b/include/gnss_utils/utils/chisquare_ci.h index 7ffabc1..40e8eed 100644 --- a/include/gnss_utils/utils/chisquare_ci.h +++ b/include/gnss_utils/utils/chisquare_ci.h @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/include/gnss_utils/utils/chisquare_ci_maps.h b/include/gnss_utils/utils/chisquare_ci_maps.h index 18bac13..ef9fcd3 100644 --- a/include/gnss_utils/utils/chisquare_ci_maps.h +++ b/include/gnss_utils/utils/chisquare_ci_maps.h @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/include/gnss_utils/utils/rcv_position.h b/include/gnss_utils/utils/rcv_position.h index 1b9eaee..15b2264 100644 --- a/include/gnss_utils/utils/rcv_position.h +++ b/include/gnss_utils/utils/rcv_position.h @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/include/gnss_utils/utils/satellite.h b/include/gnss_utils/utils/satellite.h index cd5c5d6..f0f2226 100644 --- a/include/gnss_utils/utils/satellite.h +++ b/include/gnss_utils/utils/satellite.h @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/include/gnss_utils/utils/transformations.h b/include/gnss_utils/utils/transformations.h index 1ee133f..1e066ca 100644 --- a/include/gnss_utils/utils/transformations.h +++ b/include/gnss_utils/utils/transformations.h @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/include/gnss_utils/utils/utils.h b/include/gnss_utils/utils/utils.h index 127ae38..7f3b527 100644 --- a/include/gnss_utils/utils/utils.h +++ b/include/gnss_utils/utils/utils.h @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/scripts/license_header_2024.txt b/scripts/license_header_2025.txt similarity index 88% rename from scripts/license_header_2024.txt rename to scripts/license_header_2025.txt index 258452c..ccc7d95 100644 --- a/scripts/license_header_2024.txt +++ b/scripts/license_header_2025.txt @@ -1,4 +1,4 @@ -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // diff --git a/src/examples/gnss_utils_test.cpp b/src/examples/gnss_utils_test.cpp index c60eb79..fbd9b84 100644 --- a/src/examples/gnss_utils_test.cpp +++ b/src/examples/gnss_utils_test.cpp @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/src/navigation.cpp b/src/navigation.cpp index 20532be..855eed9 100644 --- a/src/navigation.cpp +++ b/src/navigation.cpp @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/src/observations.cpp b/src/observations.cpp index 9002dee..c3ea2c8 100644 --- a/src/observations.cpp +++ b/src/observations.cpp @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/src/range.cpp b/src/range.cpp index 98a0887..1f5efe5 100644 --- a/src/range.cpp +++ b/src/range.cpp @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/src/receiver_raw_base.cpp b/src/receiver_raw_base.cpp index 76f6960..fe78643 100644 --- a/src/receiver_raw_base.cpp +++ b/src/receiver_raw_base.cpp @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/src/receivers/novatel_raw.cpp b/src/receivers/novatel_raw.cpp index 34b6f7d..ea136c4 100644 --- a/src/receivers/novatel_raw.cpp +++ b/src/receivers/novatel_raw.cpp @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/src/receivers/ublox_raw.cpp b/src/receivers/ublox_raw.cpp index 22c57e3..dc055d7 100644 --- a/src/receivers/ublox_raw.cpp +++ b/src/receivers/ublox_raw.cpp @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/src/snapshot.cpp b/src/snapshot.cpp index f6689a7..57950a3 100644 --- a/src/snapshot.cpp +++ b/src/snapshot.cpp @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/src/tdcp.cpp b/src/tdcp.cpp index 6dca496..99d9272 100644 --- a/src/tdcp.cpp +++ b/src/tdcp.cpp @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/src/utils/rcv_position.cpp b/src/utils/rcv_position.cpp index 4848c26..4478d59 100644 --- a/src/utils/rcv_position.cpp +++ b/src/utils/rcv_position.cpp @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/src/utils/satellite.cpp b/src/utils/satellite.cpp index ff2e3af..6fe97d2 100644 --- a/src/utils/satellite.cpp +++ b/src/utils/satellite.cpp @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/src/utils/transformations.cpp b/src/utils/transformations.cpp index 7b60bec..a1962ce 100644 --- a/src/utils/transformations.cpp +++ b/src/utils/transformations.cpp @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/src/utils/utils.cpp b/src/utils/utils.cpp index f603b2d..bd5111c 100644 --- a/src/utils/utils.cpp +++ b/src/utils/utils.cpp @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/test/gtest/utils_gtest.h b/test/gtest/utils_gtest.h index 439b619..c6e644b 100644 --- a/test/gtest/utils_gtest.h +++ b/test/gtest/utils_gtest.h @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/test/gtest_chisquare.cpp b/test/gtest_chisquare.cpp index b115cc7..cf44c4e 100644 --- a/test/gtest_chisquare.cpp +++ b/test/gtest_chisquare.cpp @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/test/gtest_example.cpp b/test/gtest_example.cpp index fa8563d..b30c4ee 100644 --- a/test/gtest_example.cpp +++ b/test/gtest_example.cpp @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/test/gtest_navigation.cpp b/test/gtest_navigation.cpp index e5a623c..8c79181 100644 --- a/test/gtest_navigation.cpp +++ b/test/gtest_navigation.cpp @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/test/gtest_observations.cpp b/test/gtest_observations.cpp index 9bf34ad..a2a9b82 100644 --- a/test/gtest_observations.cpp +++ b/test/gtest_observations.cpp @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/test/gtest_tdcp.cpp b/test/gtest_tdcp.cpp index 5b1d152..56b9525 100644 --- a/test/gtest_tdcp.cpp +++ b/test/gtest_tdcp.cpp @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 diff --git a/test/gtest_transformations.cpp b/test/gtest_transformations.cpp index 00848dc..753e925 100644 --- a/test/gtest_transformations.cpp +++ b/test/gtest_transformations.cpp @@ -1,6 +1,6 @@ //--------LICENSE_START-------- // -// Copyright (C) 2020,2021,2022,2023,2024 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. +// Copyright (C) 2020,2021,2022,2023,2024,2025 Institut de Robòtica i Informà tica Industrial, CSIC-UPC. // Authors: Joan Vallvé Navarro (jvallve@iri.upc.edu) // All rights reserved. // @@ -8,7 +8,7 @@ // gnss_utils is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or -// at your option) any later version. +// (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 -- GitLab From c9bb44b8bb6c5001a9ea6777712cd9bd28a7aa2f Mon Sep 17 00:00:00 2001 From: joanvallve <jvallve@iri.upc.edu> Date: Mon, 10 Feb 2025 15:14:40 +0100 Subject: [PATCH 2/3] [skip ci] license headers update according LICENSE (not LGPL, GPL) --- include/gnss_utils/gnss_utils.h | 15 +++++++-------- include/gnss_utils/navigation.h | 15 +++++++-------- include/gnss_utils/observations.h | 15 +++++++-------- include/gnss_utils/range.h | 15 +++++++-------- include/gnss_utils/receiver_raw_base.h | 15 +++++++-------- include/gnss_utils/receivers/novatel_raw.h | 15 +++++++-------- include/gnss_utils/receivers/ublox_raw.h | 15 +++++++-------- include/gnss_utils/snapshot.h | 15 +++++++-------- include/gnss_utils/tdcp.h | 15 +++++++-------- include/gnss_utils/utils/chisquare_ci.h | 15 +++++++-------- include/gnss_utils/utils/chisquare_ci_maps.h | 15 +++++++-------- include/gnss_utils/utils/rcv_position.h | 15 +++++++-------- include/gnss_utils/utils/satellite.h | 15 +++++++-------- include/gnss_utils/utils/transformations.h | 15 +++++++-------- include/gnss_utils/utils/utils.h | 13 ++++++------- scripts/license_header_2025.txt | 13 ++++++------- scripts/license_manager.sh | 2 +- src/examples/gnss_utils_test.cpp | 13 ++++++------- src/navigation.cpp | 13 ++++++------- src/observations.cpp | 13 ++++++------- src/range.cpp | 13 ++++++------- src/receiver_raw_base.cpp | 13 ++++++------- src/receivers/novatel_raw.cpp | 13 ++++++------- src/receivers/ublox_raw.cpp | 13 ++++++------- src/snapshot.cpp | 13 ++++++------- src/tdcp.cpp | 13 ++++++------- src/utils/rcv_position.cpp | 13 ++++++------- src/utils/satellite.cpp | 13 ++++++------- src/utils/transformations.cpp | 13 ++++++------- src/utils/utils.cpp | 13 ++++++------- test/gtest/utils_gtest.h | 15 +++++++-------- test/gtest_chisquare.cpp | 13 ++++++------- test/gtest_example.cpp | 13 ++++++------- test/gtest_navigation.cpp | 13 ++++++------- test/gtest_observations.cpp | 13 ++++++------- test/gtest_tdcp.cpp | 13 ++++++------- test/gtest_transformations.cpp | 13 ++++++------- 37 files changed, 232 insertions(+), 268 deletions(-) diff --git a/include/gnss_utils/gnss_utils.h b/include/gnss_utils/gnss_utils.h index 332e175..57c8526 100644 --- a/include/gnss_utils/gnss_utils.h +++ b/include/gnss_utils/gnss_utils.h @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once @@ -228,4 +227,4 @@ enum Combination -} \ No newline at end of file +} diff --git a/include/gnss_utils/navigation.h b/include/gnss_utils/navigation.h index 9884ff1..b38167e 100644 --- a/include/gnss_utils/navigation.h +++ b/include/gnss_utils/navigation.h @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once @@ -246,4 +245,4 @@ inline void Navigation::freeNavArrays(nav_t& nav) freeFcb(nav); } -} // namespace GnssUtils \ No newline at end of file +} // namespace GnssUtils diff --git a/include/gnss_utils/observations.h b/include/gnss_utils/observations.h index 294f87a..3788968 100644 --- a/include/gnss_utils/observations.h +++ b/include/gnss_utils/observations.h @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once @@ -177,4 +176,4 @@ inline bool Observations::operator!=(const Observations& other_obs) const return !(*this == other_obs); } -} // namespace GnssUtils \ No newline at end of file +} // namespace GnssUtils diff --git a/include/gnss_utils/range.h b/include/gnss_utils/range.h index c3f8ec6..d7104a1 100644 --- a/include/gnss_utils/range.h +++ b/include/gnss_utils/range.h @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once @@ -62,4 +61,4 @@ class Range double computeSagnacCorrection(const Eigen::Vector3d& rcv_ECEF, const Eigen::Vector3d& sat_ECEF); -} /* namespace GnssUtils */ \ No newline at end of file +} /* namespace GnssUtils */ diff --git a/include/gnss_utils/receiver_raw_base.h b/include/gnss_utils/receiver_raw_base.h index 206c6e0..3bdc04d 100644 --- a/include/gnss_utils/receiver_raw_base.h +++ b/include/gnss_utils/receiver_raw_base.h @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once @@ -96,4 +95,4 @@ inline RawDataType ReceiverRawAbstract::getRawDataType() const return raw_data_type_; } -} // namespace GnssUtils \ No newline at end of file +} // namespace GnssUtils diff --git a/include/gnss_utils/receivers/novatel_raw.h b/include/gnss_utils/receivers/novatel_raw.h index f53b3b0..7c17805 100644 --- a/include/gnss_utils/receivers/novatel_raw.h +++ b/include/gnss_utils/receivers/novatel_raw.h @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once @@ -33,4 +32,4 @@ public: RawDataType addDataStream(const std::vector<uint8_t>& data_stream) override; }; -} // namespace GnssUtils \ No newline at end of file +} // namespace GnssUtils diff --git a/include/gnss_utils/receivers/ublox_raw.h b/include/gnss_utils/receivers/ublox_raw.h index a1fb783..5cf855c 100644 --- a/include/gnss_utils/receivers/ublox_raw.h +++ b/include/gnss_utils/receivers/ublox_raw.h @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once @@ -37,4 +36,4 @@ private: }; -} // namespace GnssUtils \ No newline at end of file +} // namespace GnssUtils diff --git a/include/gnss_utils/snapshot.h b/include/gnss_utils/snapshot.h index 1f86917..b6d5b30 100644 --- a/include/gnss_utils/snapshot.h +++ b/include/gnss_utils/snapshot.h @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once @@ -196,4 +195,4 @@ inline bool Snapshot::rangesComputed() const return !ranges_.empty(); } -} // namespace GnssUtils \ No newline at end of file +} // namespace GnssUtils diff --git a/include/gnss_utils/tdcp.h b/include/gnss_utils/tdcp.h index 113dc20..9fba901 100644 --- a/include/gnss_utils/tdcp.h +++ b/include/gnss_utils/tdcp.h @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once @@ -84,4 +83,4 @@ TdcpOutput Tdcp(const Eigen::Vector3d& x_r, std::set<int>& raim_discarded_rows, const TdcpOptions& tdcp_params); -} // namespace GnssUtils \ No newline at end of file +} // namespace GnssUtils diff --git a/include/gnss_utils/utils/chisquare_ci.h b/include/gnss_utils/utils/chisquare_ci.h index 89d27f9..354580b 100644 --- a/include/gnss_utils/utils/chisquare_ci.h +++ b/include/gnss_utils/utils/chisquare_ci.h @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once @@ -66,4 +65,4 @@ inline double ci2chisq(double ci, int dof) return lower->second + (ci - lower->first) / (upper->first - lower->first) * (upper->second - lower->second); }; -} // namespace GnssUtils \ No newline at end of file +} // namespace GnssUtils diff --git a/include/gnss_utils/utils/chisquare_ci_maps.h b/include/gnss_utils/utils/chisquare_ci_maps.h index 68982e1..d9f9d27 100644 --- a/include/gnss_utils/utils/chisquare_ci_maps.h +++ b/include/gnss_utils/utils/chisquare_ci_maps.h @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once @@ -1412,4 +1411,4 @@ static std::map<int, std::map<double, double>> chisq_2_CI = { }}, }; -}// namespace GnssUtils \ No newline at end of file +}// namespace GnssUtils diff --git a/include/gnss_utils/utils/rcv_position.h b/include/gnss_utils/utils/rcv_position.h index 0d1bab8..3c0fe1c 100644 --- a/include/gnss_utils/utils/rcv_position.h +++ b/include/gnss_utils/utils/rcv_position.h @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once @@ -57,4 +56,4 @@ int estposOwn(const obsd_t* obs, int* vsat, double* resp, char* msg); -} // namespace GnssUtils \ No newline at end of file +} // namespace GnssUtils diff --git a/include/gnss_utils/utils/satellite.h b/include/gnss_utils/utils/satellite.h index ad11d13..b9ece59 100644 --- a/include/gnss_utils/utils/satellite.h +++ b/include/gnss_utils/utils/satellite.h @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once @@ -54,4 +53,4 @@ namespace GnssUtils int svh; }; -} // namespace GnssUtils \ No newline at end of file +} // namespace GnssUtils diff --git a/include/gnss_utils/utils/transformations.h b/include/gnss_utils/utils/transformations.h index eefad6e..d8a614e 100644 --- a/include/gnss_utils/utils/transformations.h +++ b/include/gnss_utils/utils/transformations.h @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once @@ -40,4 +39,4 @@ void computeEnuEcefFromLatLonAlt(const Eigen::Vector3d& _ENU_latlonalt, Eigen::Matrix3d& R_ENU_ECEF, Eigen::Vector3d& t_ENU_ECEF); -} // namespace GnssUtils \ No newline at end of file +} // namespace GnssUtils diff --git a/include/gnss_utils/utils/utils.h b/include/gnss_utils/utils/utils.h index 237da9b..fa7c619 100644 --- a/include/gnss_utils/utils/utils.h +++ b/include/gnss_utils/utils/utils.h @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once diff --git a/scripts/license_header_2025.txt b/scripts/license_header_2025.txt index 8fa4aae..4520aee 100644 --- a/scripts/license_header_2025.txt +++ b/scripts/license_header_2025.txt @@ -7,14 +7,13 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. \ No newline at end of file diff --git a/scripts/license_manager.sh b/scripts/license_manager.sh index 7dceb1c..adaf0a4 100755 --- a/scripts/license_manager.sh +++ b/scripts/license_manager.sh @@ -178,7 +178,7 @@ if [ "$mode" == "add" ]; then : else echo " - ${i}" - ( cat ${license}; cat $i ) > temp_file + ( cat ${license}; echo ""; cat $i ) > temp_file mv temp_file $i fi fi diff --git a/src/examples/gnss_utils_test.cpp b/src/examples/gnss_utils_test.cpp index 7d0096d..f6e0f71 100644 --- a/src/examples/gnss_utils_test.cpp +++ b/src/examples/gnss_utils_test.cpp @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #include "gnss_utils/observations.h" diff --git a/src/navigation.cpp b/src/navigation.cpp index 5709d6e..0309ed1 100644 --- a/src/navigation.cpp +++ b/src/navigation.cpp @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #include "gnss_utils/navigation.h" diff --git a/src/observations.cpp b/src/observations.cpp index 41790f2..a5bcf20 100644 --- a/src/observations.cpp +++ b/src/observations.cpp @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #include "gnss_utils/observations.h" diff --git a/src/range.cpp b/src/range.cpp index f2bc295..52c33f4 100644 --- a/src/range.cpp +++ b/src/range.cpp @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #include "gnss_utils/range.h" diff --git a/src/receiver_raw_base.cpp b/src/receiver_raw_base.cpp index 11e39cc..fb9e52b 100644 --- a/src/receiver_raw_base.cpp +++ b/src/receiver_raw_base.cpp @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #include "gnss_utils/receiver_raw_base.h" diff --git a/src/receivers/novatel_raw.cpp b/src/receivers/novatel_raw.cpp index e2ccde9..760dc90 100644 --- a/src/receivers/novatel_raw.cpp +++ b/src/receivers/novatel_raw.cpp @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #include "gnss_utils/receivers/novatel_raw.h" diff --git a/src/receivers/ublox_raw.cpp b/src/receivers/ublox_raw.cpp index 5a9fead..141129f 100644 --- a/src/receivers/ublox_raw.cpp +++ b/src/receivers/ublox_raw.cpp @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #include "gnss_utils/receivers/ublox_raw.h" diff --git a/src/snapshot.cpp b/src/snapshot.cpp index a6d9225..22fce6b 100644 --- a/src/snapshot.cpp +++ b/src/snapshot.cpp @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #include "gnss_utils/snapshot.h" diff --git a/src/tdcp.cpp b/src/tdcp.cpp index 36ca791..e0669ef 100644 --- a/src/tdcp.cpp +++ b/src/tdcp.cpp @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #include <iomanip> diff --git a/src/utils/rcv_position.cpp b/src/utils/rcv_position.cpp index 9d5ef44..87e27a0 100644 --- a/src/utils/rcv_position.cpp +++ b/src/utils/rcv_position.cpp @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #include "gnss_utils/utils/rcv_position.h" diff --git a/src/utils/satellite.cpp b/src/utils/satellite.cpp index 5eeb27e..19b50aa 100644 --- a/src/utils/satellite.cpp +++ b/src/utils/satellite.cpp @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #include "gnss_utils/utils/satellite.h" diff --git a/src/utils/transformations.cpp b/src/utils/transformations.cpp index a9889d4..0cfd24a 100644 --- a/src/utils/transformations.cpp +++ b/src/utils/transformations.cpp @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #include "gnss_utils/utils/transformations.h" diff --git a/src/utils/utils.cpp b/src/utils/utils.cpp index 4cc67a7..34fd953 100644 --- a/src/utils/utils.cpp +++ b/src/utils/utils.cpp @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #include "gnss_utils/utils/utils.h" diff --git a/test/gtest/utils_gtest.h b/test/gtest/utils_gtest.h index 9e59f47..26fb954 100644 --- a/test/gtest/utils_gtest.h +++ b/test/gtest/utils_gtest.h @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once @@ -153,4 +152,4 @@ TEST(Test, Foo) }, \ C_expect, C_actual); -} // namespace testing \ No newline at end of file +} // namespace testing diff --git a/test/gtest_chisquare.cpp b/test/gtest_chisquare.cpp index bf93fe9..f752091 100644 --- a/test/gtest_chisquare.cpp +++ b/test/gtest_chisquare.cpp @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #include "gtest/utils_gtest.h" diff --git a/test/gtest_example.cpp b/test/gtest_example.cpp index d27087c..dec9ff4 100644 --- a/test/gtest_example.cpp +++ b/test/gtest_example.cpp @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #include "gtest/utils_gtest.h" diff --git a/test/gtest_navigation.cpp b/test/gtest_navigation.cpp index 4a9073b..6ee7be0 100644 --- a/test/gtest_navigation.cpp +++ b/test/gtest_navigation.cpp @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #include "gtest/utils_gtest.h" diff --git a/test/gtest_observations.cpp b/test/gtest_observations.cpp index e1c41e9..f606c6d 100644 --- a/test/gtest_observations.cpp +++ b/test/gtest_observations.cpp @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #include "gtest/utils_gtest.h" diff --git a/test/gtest_tdcp.cpp b/test/gtest_tdcp.cpp index 6756e5c..edd5d5c 100644 --- a/test/gtest_tdcp.cpp +++ b/test/gtest_tdcp.cpp @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #include "gtest/utils_gtest.h" diff --git a/test/gtest_transformations.cpp b/test/gtest_transformations.cpp index 9e6b043..fb94082 100644 --- a/test/gtest_transformations.cpp +++ b/test/gtest_transformations.cpp @@ -7,17 +7,16 @@ // // This file is part of gnss_utils // gnss_utils is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// it under the terms of the GNU General Public License version 3 +// as published by the Free Software Foundation. // // 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 Lesser General Public License for more details. +// 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 Lesser General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #include "gtest/utils_gtest.h" -- GitLab From 62d6baf5f20c2a2ae01ba40f456a8f4de7d88ec3 Mon Sep 17 00:00:00 2001 From: joanvallve <jvallve@iri.upc.edu> Date: Mon, 28 Apr 2025 10:53:26 +0200 Subject: [PATCH 3/3] undef PI of RTKLIB to avoid conflicts with other libraries --- include/gnss_utils/gnss_utils.h | 9 +-------- src/utils/transformations.cpp | 17 +++++++---------- 2 files changed, 8 insertions(+), 18 deletions(-) diff --git a/include/gnss_utils/gnss_utils.h b/include/gnss_utils/gnss_utils.h index 57c8526..86d0338 100644 --- a/include/gnss_utils/gnss_utils.h +++ b/include/gnss_utils/gnss_utils.h @@ -34,14 +34,6 @@ extern "C" { // eigen #include <Eigen/Dense> -#ifndef RAD2DEG -#define RAD2DEG 180.0 / 3.14159265358979323846 -#endif - -#ifndef DEG2RAD -#define DEG2RAD 3.14159265358979323846 / 180.0 -#endif - namespace GnssUtils { @@ -226,5 +218,6 @@ enum Combination }; +#undef PI // avoid conflict with other libraries that may define PI } diff --git a/src/utils/transformations.cpp b/src/utils/transformations.cpp index 0cfd24a..3c9b119 100644 --- a/src/utils/transformations.cpp +++ b/src/utils/transformations.cpp @@ -29,25 +29,22 @@ namespace GnssUtils Eigen::Vector3d ecefToLatLonAlt(const Eigen::Vector3d& _ecef, bool in_rads) { Eigen::Vector3d latlonalt; - ecef2pos(_ecef.data(), latlonalt.data()); + ecef2pos(_ecef.data(), latlonalt.data()); // in rads + + if (not in_rads) // requested in degrees + latlonalt.head<2>() *= 180.0 / M_PI; - if (not in_rads) - { - latlonalt(0) = RAD2DEG * latlonalt(0); - latlonalt(1) = RAD2DEG * latlonalt(1); - } return latlonalt; } Eigen::Vector3d latLonAltToEcef(const Eigen::Vector3d& _latlon, bool in_rads) { Eigen::Vector3d ecef; - if (not in_rads) + if (not in_rads) // provided in degrees { Eigen::Vector3d latlon_rads = _latlon; - latlon_rads(0) = DEG2RAD * _latlon(0); - latlon_rads(1) = DEG2RAD * _latlon(1); - latlon_rads(2) = _latlon(2); + latlon_rads.head<2>() *= M_PI / 180.0; + pos2ecef(latlon_rads.data(), ecef.data()); } else -- GitLab