From 016bb9a0637b56e2fca392f770b98fd31f986a54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Vallv=C3=A9=20Navarro?= <jvallve@iri.upc.edu> Date: Mon, 28 Apr 2025 10:55:31 +0200 Subject: [PATCH] Devel --- include/gnss_utils/gnss_utils.h | 24 ++++++---------- 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 | 30 +++++++++----------- 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, 240 insertions(+), 286 deletions(-) diff --git a/include/gnss_utils/gnss_utils.h b/include/gnss_utils/gnss_utils.h index 332e175..86d0338 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 @@ -35,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 { @@ -227,5 +218,6 @@ enum Combination }; +#undef PI // avoid conflict with other libraries that may define PI -} \ 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..3c9b119 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" @@ -30,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 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