1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-04 17:16:26 +00:00

implemented the stop_tracking() function

This commit is contained in:
Marc Majoral 2019-07-18 19:12:17 +02:00
parent dd996bc2e2
commit 8c84702f27
6 changed files with 5 additions and 19 deletions

View File

@ -286,6 +286,7 @@ GalileoE1DllPllVemlTrackingFpga::~GalileoE1DllPllVemlTrackingFpga()
void GalileoE1DllPllVemlTrackingFpga::stop_tracking() void GalileoE1DllPllVemlTrackingFpga::stop_tracking()
{ {
tracking_fpga_sc->stop_tracking();
} }

View File

@ -304,6 +304,7 @@ void GalileoE5aDllPllTrackingFpga::start_tracking()
void GalileoE5aDllPllTrackingFpga::stop_tracking() void GalileoE5aDllPllTrackingFpga::stop_tracking()
{ {
tracking_fpga_sc->stop_tracking();
} }

View File

@ -252,6 +252,7 @@ void GpsL1CaDllPllTrackingFpga::start_tracking()
void GpsL1CaDllPllTrackingFpga::stop_tracking() void GpsL1CaDllPllTrackingFpga::stop_tracking()
{ {
tracking_fpga_sc->stop_tracking();
} }

View File

@ -327,6 +327,7 @@ void GpsL5DllPllTrackingFpga::start_tracking()
void GpsL5DllPllTrackingFpga::stop_tracking() void GpsL5DllPllTrackingFpga::stop_tracking()
{ {
tracking_fpga_sc->stop_tracking();
} }

View File

@ -527,13 +527,6 @@ void dll_pll_veml_tracking_fpga::start_tracking()
} }
////bool dll_pll_veml_tracking_fpga::stop()
//void dll_pll_veml_tracking_fpga::stop()
//{
// d_stop_tracking = true;
// //return true;
//}
dll_pll_veml_tracking_fpga::~dll_pll_veml_tracking_fpga() dll_pll_veml_tracking_fpga::~dll_pll_veml_tracking_fpga()
{ {
@ -1487,7 +1480,7 @@ void dll_pll_veml_tracking_fpga::set_gnss_synchro(Gnss_Synchro *p_gnss_synchro)
void dll_pll_veml_tracking_fpga::stop_tracking() void dll_pll_veml_tracking_fpga::stop_tracking()
{ {
d_state = 1; d_stop_tracking = true;
} }
@ -2005,13 +1998,6 @@ int dll_pll_veml_tracking_fpga::general_work(int noutput_items __attribute__((un
*out[0] = current_synchro_data; *out[0] = current_synchro_data;
return 1; return 1;
} }
// else
// {
// current_synchro_data = *d_acquisition_gnss_synchro;
// current_synchro_data.Flag_valid_symbol_output = false;
// *out[0] = *d_acquisition_gnss_synchro;
// return 1;
// }
return 0; return 0;

View File

@ -74,10 +74,6 @@ public:
void reset(void); void reset(void);
//bool stop(void);
// void stop(void);
private: private:
friend dll_pll_veml_tracking_fpga_sptr dll_pll_veml_make_tracking_fpga(const Dll_Pll_Conf_Fpga &conf_); friend dll_pll_veml_tracking_fpga_sptr dll_pll_veml_make_tracking_fpga(const Dll_Pll_Conf_Fpga &conf_);
void msg_handler_telemetry_to_trk(const pmt::pmt_t &msg); void msg_handler_telemetry_to_trk(const pmt::pmt_t &msg);