GNSS-SDR  0.0.19
An Open Source GNSS Software Defined Receiver
position_test_flags.h
Go to the documentation of this file.
1 /*!
2  * \file position_test_flags.h
3  * \brief Helper file for unit testing
4  * \author Javier Arribas, 2018. jarribas(at)cttc.es
5  *
6  * -----------------------------------------------------------------------------
7  *
8  * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
9  * This file is part of GNSS-SDR.
10  *
11  * Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
12  * SPDX-License-Identifier: GPL-3.0-or-later
13  *
14  * -----------------------------------------------------------------------------
15  */
16 
17 #ifndef GNSS_SDR_POSITION_TEST_FLAGS_H
18 #define GNSS_SDR_POSITION_TEST_FLAGS_H
19 
20 #include <gflags/gflags.h>
21 #include <limits>
22 #include <string>
23 
24 DEFINE_string(config_file_ptest, std::string(""), "File containing the configuration parameters for the position test.");
25 DEFINE_bool(plot_position_test, false, "Plots results of with gnuplot");
26 DEFINE_bool(static_scenario, true, "Compute figures of merit for static user position (DRMS, CEP, etc..)");
27 DEFINE_bool(use_ref_motion_file, false, "Enable or disable the use of a reference file containing the true receiver position, velocity and acceleration.");
28 DEFINE_int32(ref_motion_file_type, 1, "Type of reference motion file: 1- Spirent CSV motion file");
29 DEFINE_string(ref_motion_filename, std::string("motion.csv"), "Path and filename for the reference motion file");
30 DEFINE_string(pvt_solver_dump_filename, std::string("PVT.dat"), "Path and filename for the PVT solver binary dump file");
31 DEFINE_double(static_2D_error_m, 2.0, "Static scenario 2D (East, North) positioning error threshold [meters]");
32 DEFINE_double(static_3D_error_m, 5.0, "Static scenario 3D (East, North, Up) positioning error threshold [meters]");
33 DEFINE_double(accuracy_CEP, 3.0, "Static scenario 2D (East, North) accuracy Circular Error Position (CEP) threshold [meters]");
34 DEFINE_double(precision_SEP, 15.0, "Static scenario 3D (East, North, Up) precision Spherical Error Position (SEP) threshold [meters]");
35 DEFINE_double(dynamic_3D_position_RMSE, 10.0, "Dynamic scenario 3D (ECEF) accuracy RMSE threshold [meters]");
36 DEFINE_double(dynamic_3D_velocity_RMSE, 5.0, "Dynamic scenario 3D (ECEF) velocity accuracy RMSE threshold [meters/second]");
37 DEFINE_bool(enable_carrier_smoothing, false, "Activates carrier smoothing of pseudoranges");
38 
39 #endif