1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 04:30:33 +00:00

Remove unused includes, improve README

This commit is contained in:
Carles Fernandez 2020-02-18 22:46:22 +01:00
parent 2215e627b4
commit 924f59fad0
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
4 changed files with 7 additions and 8 deletions

View File

@ -34,6 +34,10 @@ if("${ARMADILLO_VERSION_STRING}" VERSION_GREATER "9.800" OR (NOT ARMADILLO_FOUND
if(NOT MATIO_FOUND OR MATIO_VERSION_STRING VERSION_LESS ${GNSSSDR_MATIO_MIN_VERSION})
add_dependencies(obsdiff matio-${GNSSSDR_MATIO_LOCAL_VERSION})
endif()
find_package(Gnuplot QUIET)
if(GNUPLOT_FOUND)
add_definitions(-DGNUPLOT_EXECUTABLE="${GNUPLOT_EXECUTABLE}")
endif()
target_link_libraries(obsdiff
PUBLIC
@ -41,7 +45,6 @@ if("${ARMADILLO_VERSION_STRING}" VERSION_GREATER "9.800" OR (NOT ARMADILLO_FOUND
Threads::Threads
Gflags::gflags
Matio::matio
core_system_parameters
${GPSTK_LIBRARY}
)

View File

@ -19,7 +19,8 @@ Requirements:
* [GPSTK](https://github.com/SGL-UT/GPSTk): The GPS Toolkit, used for RINEX files reading. If not found in your system, the latest version will be downloaded, built and linked for you at building time.
* [Matio](https://github.com/tbeu/matio): A MATLAB MAT File I/O Library, version >= 1.5.3. If it is not found, or an older version is found, CMake will download, build and link a recent version for you at building time.
Optional:
* [Gnuplot](http://www.gnuplot.info/): a portable command-line driven graphing utility.
This program is built along with GNSS-SDR if the options `ENABLE_UNIT_TESTING_EXTRA` or `ENABLE_SYSTEM_TESTING_EXTRA` are set to `ON` when calling CMake:

View File

@ -1,6 +1,6 @@
/*!
* \file obsdiff.cc
* \brief This class implements a single difference and double difference
* \brief This program implements a single difference and double difference
* comparison algorithm to evaluate receiver's performance at observable level
* \authors <ul>
* <li> Javier Arribas, 2020. jarribas(at)cttc.es
@ -21,7 +21,6 @@
* -------------------------------------------------------------------------
*/
#include "MATH_CONSTANTS.h"
#include "gnuplot_i.h"
#include "obsdiff_flags.h"
#include <armadillo>
@ -33,13 +32,10 @@
#include <matio.h>
#include <algorithm>
#include <array>
#include <chrono>
#include <cmath>
#include <fstream>
#include <map>
#include <numeric>
#include <set>
#include <thread>
// Create the lists of GNSS satellites

View File

@ -22,7 +22,6 @@
#define GNSS_SDR_OBSDIFF_FLAGS_H
#include <gflags/gflags.h>
#include <limits>
DEFINE_double(skip_obs_transitory_s, 30.0, "Skip the initial observable outputs to avoid transitory results [s]");
DEFINE_double(skip_obs_ends_s, 5.0, "Skip the lasts observable outputs to avoid transitory results [s]");