2011-10-01 18:45:20 +00:00
|
|
|
/*!
|
|
|
|
* \file gnss_block_factory.cc
|
|
|
|
* \brief This class implements a factory that returns instances of GNSS blocks.
|
|
|
|
* \author Carlos Aviles, 2010. carlos.avilesr(at)googlemail.com
|
2012-02-24 16:06:14 +00:00
|
|
|
* Luis Esteve, 2012. luis(at)epsilon-formacion.com
|
- Major changes:
- The executable file and the default configuration file is now changed from "./install/mercurio" and "./conf/mercurio.conf" to "./install/gnss-sdr" and "./conf/gnss-sdr.conf", respectively.
- Configuration file structure changed to define in a single entry the internal sampling frequency (after the signal conditioner). NOTICE that this change affects the all the adapters (acquisition, tracking, telemetry_decoder, observables, and PVT). All the adapters are now modified to work with this feature.
- Moved several in-line GPS L1 CA parameters (a.k.a magic numbers..) to ./src/core/system_parameters/GPS_L1_CA.h definition file.
- Tracking blocks now uses DOUBLE values in their outputs.
- Observables and PVT now are separated. PVT and their associated libraries are moved to ./src/algorithms/PVT
- Temporarily disabled the RINEX output (I am working on that!)
- GNSS-SDR screen output now gives extended debug information of the receiver status and events. In the future, this output will be redirected to a log file.
- Bug fixes:
- FILE_SIGNAL_SOURCE now works correctly when the user configures GNSS-SDR to process the entire file.
- GPS_L1_CA_DLL_PLL now computes correctly the PRN start values.
- GPS_L1_CA_DLL_FLL_PLL now computes correctly the PRN start values.
- Several modifications in GPS_L1_CA_Telemetry_Decoder, GPS_L1_CA_Observables, and GPS_L1_CA_PVT modules to fix the GPS position computation.
- New features
- Tracking blocks perform a signal integrity check against NaN outliers before the correlation process.
- Tracking and PVT binary dump options are now documented and we provide MATLAB libraries and sample files to read it. Available in ./utils/matlab" and "./utils/matlab/libs"
- Observables output rate can be configured. This option enables the GPS L1 CA PVT computation at a maximum rate of 1ms.
- GPS_L1_CA_PVT now can perform a moving average Latitude, Longitude, and Altitude output for each of the Observables output. It is configurable using the configuration file.
- Added Google Earth compatible Keyhole Markup Language (KML) output writer class (./src/algorithms/PVT/libs/kml_printer.h and ./src/algorithms/PVT/libs/kml_printer.cc ). You can see the receiver position directly using Google Earth.
- We provide a master configuration file which includes an in-line documentation with all the new (and old) options. It can be found in ./conf/master.conf
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@84 64b25241-fba3-4117-9849-534c7e92360d
2011-12-07 17:59:34 +00:00
|
|
|
* Javier Arribas, 2011. jarribas(at)cttc.es
|
2011-10-01 18:45:20 +00:00
|
|
|
*
|
|
|
|
* This class encapsulates the complexity behind the instantiation
|
|
|
|
* of GNSS blocks.
|
|
|
|
*
|
|
|
|
* -------------------------------------------------------------------------
|
|
|
|
*
|
2012-02-24 16:06:14 +00:00
|
|
|
* Copyright (C) 2010-2012 (see AUTHORS file for a list of contributors)
|
2011-10-01 18:45:20 +00:00
|
|
|
*
|
|
|
|
* 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 "gnss_block_factory.h"
|
|
|
|
#include <string>
|
|
|
|
#include <sstream>
|
|
|
|
#include <iostream>
|
|
|
|
#include <boost/lexical_cast.hpp>
|
|
|
|
#include <glog/log_severity.h>
|
|
|
|
#include <glog/logging.h>
|
|
|
|
#include "configuration_interface.h"
|
|
|
|
#include "gnss_block_interface.h"
|
|
|
|
#include "pass_through.h"
|
|
|
|
#include "file_signal_source.h"
|
|
|
|
#include "null_sink_output_filter.h"
|
|
|
|
#include "file_output_filter.h"
|
|
|
|
#include "channel.h"
|
2012-03-02 18:50:21 +00:00
|
|
|
#include "uhd_signal_source.h"
|
2012-02-19 17:45:51 +00:00
|
|
|
#include "signal_conditioner.h"
|
|
|
|
#include "direct_resampler_conditioner.h"
|
2012-02-24 16:06:14 +00:00
|
|
|
#include "fir_filter.h"
|
2011-10-01 18:45:20 +00:00
|
|
|
#include "gps_l1_ca_pcps_acquisition.h"
|
|
|
|
#include "gps_l1_ca_dll_pll_tracking.h"
|
2011-11-22 17:21:54 +00:00
|
|
|
#include "gps_l1_ca_dll_fll_pll_tracking.h"
|
2012-03-16 10:55:58 +00:00
|
|
|
#include "gps_l1_ca_tcp_connector_tracking.h"
|
2011-10-01 18:45:20 +00:00
|
|
|
#include "gps_l1_ca_telemetry_decoder.h"
|
|
|
|
#include "gps_l1_ca_observables.h"
|
- Major changes:
- The executable file and the default configuration file is now changed from "./install/mercurio" and "./conf/mercurio.conf" to "./install/gnss-sdr" and "./conf/gnss-sdr.conf", respectively.
- Configuration file structure changed to define in a single entry the internal sampling frequency (after the signal conditioner). NOTICE that this change affects the all the adapters (acquisition, tracking, telemetry_decoder, observables, and PVT). All the adapters are now modified to work with this feature.
- Moved several in-line GPS L1 CA parameters (a.k.a magic numbers..) to ./src/core/system_parameters/GPS_L1_CA.h definition file.
- Tracking blocks now uses DOUBLE values in their outputs.
- Observables and PVT now are separated. PVT and their associated libraries are moved to ./src/algorithms/PVT
- Temporarily disabled the RINEX output (I am working on that!)
- GNSS-SDR screen output now gives extended debug information of the receiver status and events. In the future, this output will be redirected to a log file.
- Bug fixes:
- FILE_SIGNAL_SOURCE now works correctly when the user configures GNSS-SDR to process the entire file.
- GPS_L1_CA_DLL_PLL now computes correctly the PRN start values.
- GPS_L1_CA_DLL_FLL_PLL now computes correctly the PRN start values.
- Several modifications in GPS_L1_CA_Telemetry_Decoder, GPS_L1_CA_Observables, and GPS_L1_CA_PVT modules to fix the GPS position computation.
- New features
- Tracking blocks perform a signal integrity check against NaN outliers before the correlation process.
- Tracking and PVT binary dump options are now documented and we provide MATLAB libraries and sample files to read it. Available in ./utils/matlab" and "./utils/matlab/libs"
- Observables output rate can be configured. This option enables the GPS L1 CA PVT computation at a maximum rate of 1ms.
- GPS_L1_CA_PVT now can perform a moving average Latitude, Longitude, and Altitude output for each of the Observables output. It is configurable using the configuration file.
- Added Google Earth compatible Keyhole Markup Language (KML) output writer class (./src/algorithms/PVT/libs/kml_printer.h and ./src/algorithms/PVT/libs/kml_printer.cc ). You can see the receiver position directly using Google Earth.
- We provide a master configuration file which includes an in-line documentation with all the new (and old) options. It can be found in ./conf/master.conf
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@84 64b25241-fba3-4117-9849-534c7e92360d
2011-12-07 17:59:34 +00:00
|
|
|
#include "gps_l1_ca_pvt.h"
|
2011-10-01 18:45:20 +00:00
|
|
|
|
|
|
|
using google::LogMessage;
|
|
|
|
|
2011-12-26 05:04:27 +00:00
|
|
|
|
2011-10-01 18:45:20 +00:00
|
|
|
GNSSBlockFactory::GNSSBlockFactory()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
GNSSBlockFactory::~GNSSBlockFactory()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
GNSSBlockInterface* GNSSBlockFactory::GetSignalSource(
|
|
|
|
ConfigurationInterface *configuration, gr_msg_queue_sptr queue)
|
|
|
|
{
|
|
|
|
|
|
|
|
std::string default_implementation = "File_Signal_Source";
|
2011-12-26 05:04:27 +00:00
|
|
|
|
2011-10-01 18:45:20 +00:00
|
|
|
std::string implementation = configuration->property(
|
|
|
|
"SignalSource.implementation", default_implementation);
|
|
|
|
|
|
|
|
DLOG(INFO) << "Getting SignalSource with implementation "
|
|
|
|
<< implementation;
|
|
|
|
|
|
|
|
return GetBlock(configuration, "SignalSource", implementation, 0, 1,
|
|
|
|
queue);
|
|
|
|
}
|
|
|
|
|
|
|
|
GNSSBlockInterface* GNSSBlockFactory::GetSignalConditioner(
|
|
|
|
ConfigurationInterface *configuration, gr_msg_queue_sptr queue)
|
|
|
|
{
|
|
|
|
|
|
|
|
std::string default_implementation = "Pass_Through";
|
2012-02-19 17:45:51 +00:00
|
|
|
std::string data_type_adapter = configuration->property(
|
|
|
|
"DataTypeAdapter.implementation", default_implementation);
|
|
|
|
std::string input_filter = configuration->property(
|
|
|
|
"InputFilter.implementation", default_implementation);
|
|
|
|
std::string resampler = configuration->property(
|
|
|
|
"Resampler.implementation", default_implementation);
|
|
|
|
|
|
|
|
DLOG(INFO) << "Getting SignalConditioner with DataTypeAdapter implementation: "
|
|
|
|
<< data_type_adapter << ", InputFilter implementation: "
|
|
|
|
<< input_filter << ", and Resampler implementation: "
|
|
|
|
<< resampler;
|
|
|
|
|
|
|
|
return new SignalConditioner(configuration, GetBlock(configuration,
|
|
|
|
"DataTypeAdapter", data_type_adapter, 1, 1, queue), GetBlock(
|
|
|
|
configuration,"InputFilter", input_filter, 1, 1, queue),
|
|
|
|
GetBlock(configuration,"Resampler", resampler, 1, 1, queue),
|
|
|
|
"SignalConditioner", "Signal_Conditioner", queue);
|
2011-10-01 18:45:20 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
GNSSBlockInterface* GNSSBlockFactory::GetObservables(
|
|
|
|
ConfigurationInterface *configuration, gr_msg_queue_sptr queue)
|
|
|
|
{
|
|
|
|
|
|
|
|
std::string default_implementation = "GPS_L1_CA_Observables";
|
|
|
|
std::string implementation = configuration->property(
|
|
|
|
"Observables.implementation", default_implementation);
|
|
|
|
|
|
|
|
DLOG(INFO) << "Getting Observables with implementation "
|
|
|
|
<< implementation;
|
|
|
|
|
|
|
|
unsigned int channel_count =
|
|
|
|
configuration->property("Channels.count", 12);
|
|
|
|
|
|
|
|
return GetBlock(configuration, "Observables", implementation,
|
|
|
|
channel_count, channel_count, queue);
|
|
|
|
}
|
|
|
|
|
|
|
|
GNSSBlockInterface* GNSSBlockFactory::GetPVT(
|
|
|
|
ConfigurationInterface *configuration, gr_msg_queue_sptr queue)
|
|
|
|
{
|
|
|
|
|
|
|
|
std::string default_implementation = "Pass_Through";
|
|
|
|
std::string implementation = configuration->property(
|
|
|
|
"PVT.implementation", default_implementation);
|
|
|
|
|
|
|
|
DLOG(INFO) << "Getting PVT with implementation " << implementation;
|
|
|
|
|
|
|
|
unsigned int channel_count =
|
|
|
|
configuration->property("Channels.count", 12);
|
|
|
|
|
|
|
|
return GetBlock(configuration, "PVT", implementation, channel_count, 1,
|
|
|
|
queue);
|
|
|
|
}
|
|
|
|
|
|
|
|
GNSSBlockInterface* GNSSBlockFactory::GetOutputFilter(
|
|
|
|
ConfigurationInterface *configuration, gr_msg_queue_sptr queue)
|
|
|
|
{
|
|
|
|
|
|
|
|
std::string default_implementation = "Null_Sink_Output_Filter";
|
|
|
|
std::string implementation = configuration->property(
|
|
|
|
"OutputFilter.implementation", default_implementation);
|
|
|
|
|
|
|
|
DLOG(INFO) << "Getting OutputFilter with implementation "
|
|
|
|
<< implementation;
|
|
|
|
|
|
|
|
return GetBlock(configuration, "OutputFilter", implementation, 1, 0,
|
|
|
|
queue);
|
|
|
|
}
|
|
|
|
|
|
|
|
GNSSBlockInterface* GNSSBlockFactory::GetChannel(
|
|
|
|
ConfigurationInterface *configuration, std::string acq,
|
|
|
|
std::string trk, std::string tlm, int channel,
|
|
|
|
gr_msg_queue_sptr queue)
|
|
|
|
{
|
|
|
|
|
|
|
|
std::stringstream stream;
|
|
|
|
stream << channel;
|
|
|
|
std::string id = stream.str();
|
|
|
|
|
|
|
|
DLOG(INFO) << "Instantiating channel " << id;
|
|
|
|
|
|
|
|
return new Channel(configuration, channel, GetBlock(configuration,
|
2012-02-19 17:45:51 +00:00
|
|
|
"Channel", "Pass_Through", 1, 1, queue),
|
2011-10-01 18:45:20 +00:00
|
|
|
(AcquisitionInterface*)GetBlock(configuration, "Acquisition",
|
|
|
|
acq, 1, 1, queue), (TrackingInterface*)GetBlock(
|
2011-12-28 21:36:45 +00:00
|
|
|
configuration, "Tracking", trk, 1, 1, queue),
|
|
|
|
(TelemetryDecoderInterface*)GetBlock(configuration,
|
|
|
|
"TelemetryDecoder", tlm, 1, 1, queue), "Channel",
|
|
|
|
"Channel", queue);
|
2011-10-01 18:45:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
std::vector<GNSSBlockInterface*>* GNSSBlockFactory::GetChannels(
|
|
|
|
ConfigurationInterface *configuration, gr_msg_queue_sptr queue)
|
|
|
|
{
|
|
|
|
|
2012-01-23 00:52:05 +00:00
|
|
|
std::string default_implementation = "Pass_Through";
|
2011-10-01 18:45:20 +00:00
|
|
|
unsigned int channel_count =
|
|
|
|
configuration->property("Channels.count", 12);
|
|
|
|
std::vector<GNSSBlockInterface*>* channels = new std::vector<
|
|
|
|
GNSSBlockInterface*>();
|
|
|
|
|
|
|
|
std::string tracking = configuration->property("Tracking.implementation",
|
|
|
|
default_implementation);
|
|
|
|
std::string telemetry_decoder = configuration->property(
|
|
|
|
"TelemetryDecoder.implementation", default_implementation);
|
|
|
|
for (unsigned int i = 0; i < channel_count; i++)
|
2011-12-28 21:36:45 +00:00
|
|
|
{
|
2011-10-01 18:45:20 +00:00
|
|
|
|
2011-12-28 21:36:45 +00:00
|
|
|
std::string acquisition_implementation_name = "Acquisition"
|
|
|
|
+ boost::lexical_cast<std::string>(i) + ".implementation";
|
|
|
|
std::string acquisition_implementation = configuration->property(
|
|
|
|
acquisition_implementation_name, default_implementation);
|
|
|
|
channels->push_back(GetChannel(configuration,
|
|
|
|
acquisition_implementation, tracking, telemetry_decoder, i,
|
|
|
|
queue));
|
2012-06-22 14:17:28 +00:00
|
|
|
// std::cout << "getchannel_" << i << ", acq_implementation_name: "
|
|
|
|
// << acquisition_implementation_name << ", implementation: "
|
|
|
|
// << acquisition_implementation << std::endl;
|
2011-10-01 18:45:20 +00:00
|
|
|
|
2011-12-28 21:36:45 +00:00
|
|
|
}
|
2011-10-01 18:45:20 +00:00
|
|
|
|
|
|
|
DLOG(INFO) << "Getting " << channel_count << " channels";
|
|
|
|
return channels;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2011-12-28 21:36:45 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Returns the block with the required configuration and implementation
|
|
|
|
*
|
|
|
|
* PLEASE ADD YOUR NEW BLOCK HERE!!
|
|
|
|
*/
|
2012-07-12 21:17:37 +00:00
|
|
|
|
2011-10-01 18:45:20 +00:00
|
|
|
GNSSBlockInterface* GNSSBlockFactory::GetBlock(
|
|
|
|
ConfigurationInterface *configuration, std::string role,
|
|
|
|
std::string implementation, unsigned int in_streams,
|
|
|
|
unsigned int out_streams, gr_msg_queue_sptr queue)
|
|
|
|
{
|
2011-12-27 21:21:12 +00:00
|
|
|
GNSSBlockInterface* block = NULL; //Change to nullptr when available in compilers (C++11)
|
|
|
|
|
2012-02-19 17:45:51 +00:00
|
|
|
//PASS THROUGH ----------------------------------------------------------------
|
|
|
|
|
|
|
|
if (implementation.compare("Pass_Through") == 0)
|
|
|
|
{
|
|
|
|
block = new Pass_Through(configuration, role, in_streams, out_streams);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2011-12-28 21:36:45 +00:00
|
|
|
// SIGNAL SOURCES -------------------------------------------------------------
|
2012-02-19 17:45:51 +00:00
|
|
|
else if (implementation.compare("File_Signal_Source") == 0)
|
2011-12-28 21:36:45 +00:00
|
|
|
{
|
|
|
|
block = new FileSignalSource(configuration, role, in_streams,
|
|
|
|
out_streams, queue);
|
|
|
|
}
|
2011-12-27 21:21:12 +00:00
|
|
|
|
2012-03-02 18:50:21 +00:00
|
|
|
else if (implementation.compare("UHD_Signal_Source") == 0)
|
|
|
|
{
|
|
|
|
block = new UhdSignalSource(configuration, role, in_streams,
|
|
|
|
out_streams, queue);
|
|
|
|
}
|
2011-12-27 21:21:12 +00:00
|
|
|
|
2012-02-19 17:45:51 +00:00
|
|
|
// DATA TYPE ADAPTER -----------------------------------------------------------
|
2011-12-27 21:21:12 +00:00
|
|
|
|
2012-02-19 17:45:51 +00:00
|
|
|
// INPUT FILTER ----------------------------------------------------------------
|
2012-02-24 16:06:14 +00:00
|
|
|
else if (implementation.compare("Fir_Filter") == 0)
|
|
|
|
{
|
|
|
|
block = new FirFilter(configuration, role, in_streams,
|
|
|
|
out_streams, queue);
|
|
|
|
}
|
2012-02-19 17:45:51 +00:00
|
|
|
// RESAMPLER -------------------------------------------------------------------
|
2011-12-27 21:21:12 +00:00
|
|
|
|
2012-02-19 17:45:51 +00:00
|
|
|
|
|
|
|
else if (implementation.compare("Direct_Resampler") == 0)
|
|
|
|
{
|
|
|
|
block = new DirectResamplerConditioner(configuration, role,
|
|
|
|
in_streams, out_streams);
|
|
|
|
}
|
2011-12-27 21:21:12 +00:00
|
|
|
|
2011-12-28 21:36:45 +00:00
|
|
|
// ACQUISITION BLOCKS ---------------------------------------------------------
|
2011-12-27 21:21:12 +00:00
|
|
|
|
2011-10-01 18:45:20 +00:00
|
|
|
else if (implementation.compare("GPS_L1_CA_PCPS_Acquisition") == 0)
|
2011-12-28 21:36:45 +00:00
|
|
|
{
|
|
|
|
block = new GpsL1CaPcpsAcquisition(configuration, role, in_streams,
|
|
|
|
out_streams, queue);
|
|
|
|
}
|
2011-12-27 21:21:12 +00:00
|
|
|
|
2011-12-28 21:36:45 +00:00
|
|
|
// TRACKING BLOCKS -------------------------------------------------------------
|
2011-12-27 21:21:12 +00:00
|
|
|
|
2011-10-01 18:45:20 +00:00
|
|
|
else if (implementation.compare("GPS_L1_CA_DLL_PLL_Tracking") == 0)
|
2011-12-28 21:36:45 +00:00
|
|
|
{
|
|
|
|
block = new GpsL1CaDllPllTracking(configuration, role, in_streams,
|
|
|
|
out_streams, queue);
|
|
|
|
}
|
2011-11-22 17:21:54 +00:00
|
|
|
else if (implementation.compare("GPS_L1_CA_DLL_FLL_PLL_Tracking") == 0)
|
2011-12-28 21:36:45 +00:00
|
|
|
{
|
|
|
|
block = new GpsL1CaDllFllPllTracking(configuration, role, in_streams,
|
|
|
|
out_streams, queue);
|
|
|
|
}
|
2012-03-16 10:55:58 +00:00
|
|
|
else if (implementation.compare("GPS_L1_CA_TCP_CONNECTOR_Tracking") == 0)
|
|
|
|
{
|
|
|
|
block = new GpsL1CaTcpConnectorTracking(configuration, role, in_streams,
|
|
|
|
out_streams, queue);
|
|
|
|
}
|
2011-12-27 21:21:12 +00:00
|
|
|
|
2011-12-28 21:36:45 +00:00
|
|
|
// TELEMETRY DECODERS ----------------------------------------------------------
|
2011-12-27 21:21:12 +00:00
|
|
|
|
2011-10-01 18:45:20 +00:00
|
|
|
else if (implementation.compare("GPS_L1_CA_Telemetry_Decoder") == 0)
|
2011-12-28 21:36:45 +00:00
|
|
|
{
|
|
|
|
block = new GpsL1CaTelemetryDecoder(configuration, role, in_streams,
|
|
|
|
out_streams, queue);
|
|
|
|
}
|
2011-12-27 21:21:12 +00:00
|
|
|
|
2011-12-28 21:36:45 +00:00
|
|
|
// OBSERVABLES -----------------------------------------------------------------
|
2011-10-01 18:45:20 +00:00
|
|
|
else if (implementation.compare("GPS_L1_CA_Observables") == 0)
|
2011-12-28 21:36:45 +00:00
|
|
|
{
|
|
|
|
block = new GpsL1CaObservables(configuration, role, in_streams,
|
|
|
|
out_streams, queue);
|
|
|
|
}
|
2011-12-27 21:21:12 +00:00
|
|
|
|
2011-12-28 21:36:45 +00:00
|
|
|
// PVT -------------------------------------------------------------------------
|
2011-12-27 21:21:12 +00:00
|
|
|
|
- Major changes:
- The executable file and the default configuration file is now changed from "./install/mercurio" and "./conf/mercurio.conf" to "./install/gnss-sdr" and "./conf/gnss-sdr.conf", respectively.
- Configuration file structure changed to define in a single entry the internal sampling frequency (after the signal conditioner). NOTICE that this change affects the all the adapters (acquisition, tracking, telemetry_decoder, observables, and PVT). All the adapters are now modified to work with this feature.
- Moved several in-line GPS L1 CA parameters (a.k.a magic numbers..) to ./src/core/system_parameters/GPS_L1_CA.h definition file.
- Tracking blocks now uses DOUBLE values in their outputs.
- Observables and PVT now are separated. PVT and their associated libraries are moved to ./src/algorithms/PVT
- Temporarily disabled the RINEX output (I am working on that!)
- GNSS-SDR screen output now gives extended debug information of the receiver status and events. In the future, this output will be redirected to a log file.
- Bug fixes:
- FILE_SIGNAL_SOURCE now works correctly when the user configures GNSS-SDR to process the entire file.
- GPS_L1_CA_DLL_PLL now computes correctly the PRN start values.
- GPS_L1_CA_DLL_FLL_PLL now computes correctly the PRN start values.
- Several modifications in GPS_L1_CA_Telemetry_Decoder, GPS_L1_CA_Observables, and GPS_L1_CA_PVT modules to fix the GPS position computation.
- New features
- Tracking blocks perform a signal integrity check against NaN outliers before the correlation process.
- Tracking and PVT binary dump options are now documented and we provide MATLAB libraries and sample files to read it. Available in ./utils/matlab" and "./utils/matlab/libs"
- Observables output rate can be configured. This option enables the GPS L1 CA PVT computation at a maximum rate of 1ms.
- GPS_L1_CA_PVT now can perform a moving average Latitude, Longitude, and Altitude output for each of the Observables output. It is configurable using the configuration file.
- Added Google Earth compatible Keyhole Markup Language (KML) output writer class (./src/algorithms/PVT/libs/kml_printer.h and ./src/algorithms/PVT/libs/kml_printer.cc ). You can see the receiver position directly using Google Earth.
- We provide a master configuration file which includes an in-line documentation with all the new (and old) options. It can be found in ./conf/master.conf
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@84 64b25241-fba3-4117-9849-534c7e92360d
2011-12-07 17:59:34 +00:00
|
|
|
else if (implementation.compare("GPS_L1_CA_PVT") == 0)
|
2011-12-28 21:36:45 +00:00
|
|
|
{
|
|
|
|
block = new GpsL1CaPvt(configuration, role, in_streams,
|
|
|
|
out_streams, queue);
|
|
|
|
}
|
2011-12-27 21:21:12 +00:00
|
|
|
|
2011-12-28 21:36:45 +00:00
|
|
|
// OUTPUT FILTERS --------------------------------------------------------------
|
2011-12-27 21:21:12 +00:00
|
|
|
else if (implementation.compare("Null_Sink_Output_Filter") == 0)
|
2011-12-28 21:36:45 +00:00
|
|
|
{
|
|
|
|
block = new NullSinkOutputFilter(configuration, role, in_streams,
|
|
|
|
out_streams);
|
|
|
|
}
|
2011-12-27 21:21:12 +00:00
|
|
|
else if (implementation.compare("File_Output_Filter") == 0)
|
2011-12-28 21:36:45 +00:00
|
|
|
{
|
|
|
|
block = new FileOutputFilter(configuration, role, in_streams,
|
|
|
|
out_streams);
|
|
|
|
}
|
2011-12-27 21:21:12 +00:00
|
|
|
|
2011-10-01 18:45:20 +00:00
|
|
|
else
|
2011-12-28 21:36:45 +00:00
|
|
|
{
|
|
|
|
// Log fatal. This causes execution to stop.
|
|
|
|
LOG_AT_LEVEL(ERROR) << implementation
|
|
|
|
<< ": Undefined implementation for block";
|
|
|
|
}
|
2011-10-01 18:45:20 +00:00
|
|
|
|
|
|
|
return block;
|
|
|
|
}
|