mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-07-04 19:03:14 +00:00
8b2d21c1c9
- Gps telemetry decoder and PVT now uses independent queues for ephemeris, iono, utc_model and almanac. The old gps_navigation_queue is now deprecated and it is removed from the implementation. This affect almost all the PVT and Rinex printer classes. - Rinex printer class updated to use the new ephemeris, iono, utc_model objects Bug fixes and correction: - The pseudorange generation now is based on the computed TOW for each received symbol. The History_Shift computation become simplier in this way. This modification is also a solution for a bug where the pseudoranges became temporally invalid when the TOW is updated (that happen every 6 secons!) git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@343 64b25241-fba3-4117-9849-534c7e92360d
84 lines
2.9 KiB
C++
84 lines
2.9 KiB
C++
/*!
|
|
* \file test_main.cc
|
|
* \brief This file implements all system tests.
|
|
* \author Carles Fernandez-Prades, 2012. cfernandez(at)cttc.es
|
|
*
|
|
*
|
|
* -------------------------------------------------------------------------
|
|
*
|
|
* Copyright (C) 2010-2012 (see AUTHORS file for a list of contributors)
|
|
*
|
|
* GNSS-SDR is a software defined Global Navigation
|
|
* Satellite Systems receiver
|
|
*
|
|
* This file is part of GNSS-SDR.
|
|
*
|
|
* GNSS-SDR is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* at your option) any later version.
|
|
*
|
|
* GNSS-SDR 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 General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with GNSS-SDR. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
* -------------------------------------------------------------------------
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include <iostream>
|
|
#include <queue>
|
|
#include <gtest/gtest.h>
|
|
#include <glog/log_severity.h>
|
|
#include <glog/logging.h>
|
|
#include <gnuradio/gr_msg_queue.h>
|
|
#include <boost/thread/mutex.hpp>
|
|
#include <boost/thread/thread.hpp>
|
|
#include <boost/filesystem.hpp>
|
|
#include "concurrent_queue.h"
|
|
#include "gps_navigation_message.h"
|
|
#include "control_thread.h"
|
|
|
|
|
|
#include "arithmetic/complex_arithmetic_libc.cc"
|
|
#include "arithmetic/correlations_libc.cc"
|
|
#include "arithmetic/cordic_test.cc"
|
|
#include "configuration/file_configuration_test.cc"
|
|
#include "configuration/in_memory_configuration_test.cc"
|
|
#include "control_thread/control_message_factory_test.cc"
|
|
//#include "control_thread/control_thread_test.cc"
|
|
#include "flowgraph/pass_through_test.cc"
|
|
//#include "flowgraph/gnss_flowgraph_test.cc"
|
|
#include "gnss_block/file_output_filter_test.cc"
|
|
#include "gnss_block/file_signal_source_test.cc"
|
|
#include "gnss_block/fir_filter_test.cc"
|
|
#include "gnss_block/gps_l1_ca_pcps_acquisition_test.cc"
|
|
#include "gnss_block/galileo_e1_pcps_ambiguous_acquisition_test.cc"
|
|
//#include "gnss_block/galileo_e1_pcps_ambiguous_acquisition_gsoc_test.cc"//
|
|
#include "gnss_block/galileo_e1_dll_pll_veml_tracking_test.cc"
|
|
#include "gnss_block/gnss_block_factory_test.cc"
|
|
#include "gnuradio_block/gnss_sdr_valve_test.cc"
|
|
#include "gnuradio_block/direct_resampler_conditioner_cc_test.cc"
|
|
#include "string_converter/string_converter_test.cc"
|
|
|
|
|
|
concurrent_queue<Gps_Ephemeris> global_gps_ephemeris_queue;
|
|
concurrent_queue<Gps_Iono> global_gps_iono_queue;
|
|
concurrent_queue<Gps_Utc_Model> global_gps_utc_model_queue;
|
|
concurrent_queue<Gps_Almanac> global_gps_almanac_queue;
|
|
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
std::cout << "Running main() from test_main.cc" << std::endl;
|
|
testing::InitGoogleTest(&argc, argv);
|
|
google::InitGoogleLogging(argv[0]);
|
|
return RUN_ALL_TESTS();
|
|
}
|