2018-08-29 16:53:03 +00:00
/*!
2019-03-06 20:54:39 +00:00
* \ file position_test_flags . h
2018-08-29 16:53:03 +00:00
* \ brief Helper file for unit testing
* \ author Javier Arribas , 2018. jarribas ( at ) cttc . es
*
2020-07-28 14:57:15 +00:00
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2018-08-29 16:53:03 +00:00
*
2020-12-30 12:35:06 +00:00
* GNSS - SDR is a Global Navigation Satellite System software - defined receiver .
2018-08-29 16:53:03 +00:00
* This file is part of GNSS - SDR .
*
2020-12-30 12:35:06 +00:00
* Copyright ( C ) 2010 - 2020 ( see AUTHORS file for a list of contributors )
2020-02-08 00:20:02 +00:00
* SPDX - License - Identifier : GPL - 3.0 - or - later
2018-08-29 16:53:03 +00:00
*
2020-07-28 14:57:15 +00:00
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2018-08-29 16:53:03 +00:00
*/
2020-02-08 09:10:46 +00:00
# ifndef GNSS_SDR_POSITION_TEST_FLAGS_H
# define GNSS_SDR_POSITION_TEST_FLAGS_H
2018-08-29 16:53:03 +00:00
# include <gflags/gflags.h>
# include <limits>
2019-08-17 11:56:54 +00:00
# include <string>
2018-08-29 16:53:03 +00:00
DEFINE_string ( config_file_ptest , std : : string ( " " ) , " File containing the configuration parameters for the position test. " ) ;
DEFINE_bool ( plot_position_test , false , " Plots results of with gnuplot " ) ;
DEFINE_bool ( static_scenario , true , " Compute figures of merit for static user position (DRMS, CEP, etc..) " ) ;
DEFINE_bool ( use_ref_motion_file , false , " Enable or disable the use of a reference file containing the true receiver position, velocity and acceleration. " ) ;
DEFINE_int32 ( ref_motion_file_type , 1 , " Type of reference motion file: 1- Spirent CSV motion file " ) ;
DEFINE_string ( ref_motion_filename , std : : string ( " motion.csv " ) , " Path and filename for the reference motion file " ) ;
2018-10-30 19:11:26 +00:00
DEFINE_string ( pvt_solver_dump_filename , std : : string ( " PVT.dat " ) , " Path and filename for the PVT solver binary dump file " ) ;
2018-10-18 08:11:07 +00:00
DEFINE_double ( static_2D_error_m , 2.0 , " Static scenario 2D (East, North) positioning error threshold [meters] " ) ;
DEFINE_double ( static_3D_error_m , 5.0 , " Static scenario 3D (East, North, Up) positioning error threshold [meters] " ) ;
2022-12-06 13:17:06 +00:00
DEFINE_double ( accuracy_CEP , 3.0 , " Static scenario 2D (East, North) accuracy Circular Error Position (CEP) threshold [meters] " ) ;
2021-10-10 19:41:21 +00:00
DEFINE_double ( precision_SEP , 15.0 , " Static scenario 3D (East, North, Up) precision Spherical Error Position (SEP) threshold [meters] " ) ;
2018-10-18 08:11:07 +00:00
DEFINE_double ( dynamic_3D_position_RMSE , 10.0 , " Dynamic scenario 3D (ECEF) accuracy RMSE threshold [meters] " ) ;
2018-10-31 19:05:39 +00:00
DEFINE_double ( dynamic_3D_velocity_RMSE , 5.0 , " Dynamic scenario 3D (ECEF) velocity accuracy RMSE threshold [meters/second] " ) ;
2020-02-10 18:51:33 +00:00
DEFINE_bool ( enable_carrier_smoothing , false , " Activates carrier smoothing of pseudoranges " ) ;
2018-08-29 16:53:03 +00:00
# endif