1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-17 23:55:15 +00:00

updated fpga-related unit tests + fixed fpga acquisition log of sample stamp + stop tracking message unlocks channel (the fpga multicorrelator stops blocking the flow of samples)

This commit is contained in:
Marc Majoral
2019-12-16 18:44:22 +01:00
parent 6993890587
commit eb0df94336
6 changed files with 1861 additions and 1221 deletions

View File

@@ -134,7 +134,7 @@ void pcps_acquisition_fpga::send_positive_acquisition()
// 0=STOP_CHANNEL 1=ACQ_SUCCEES 2=ACQ_FAIL
DLOG(INFO) << "positive acquisition"
<< ", satellite " << d_gnss_synchro->System << " " << d_gnss_synchro->PRN
<< ", sample_stamp " << d_sample_counter
<< ", sample_stamp " << d_gnss_synchro->Acq_samplestamp_samples
<< ", test statistics value " << d_test_statistics
<< ", test statistics threshold " << d_threshold
<< ", code phase " << d_gnss_synchro->Acq_delay_samples
@@ -153,7 +153,7 @@ void pcps_acquisition_fpga::send_negative_acquisition()
// Declare negative acquisition using a message port
DLOG(INFO) << "negative acquisition"
<< ", satellite " << d_gnss_synchro->System << " " << d_gnss_synchro->PRN
<< ", sample_stamp " << d_sample_counter
<< ", sample_stamp " << d_gnss_synchro->Acq_samplestamp_samples
<< ", test statistics value " << d_test_statistics
<< ", test statistics threshold " << d_threshold
<< ", code phase " << d_gnss_synchro->Acq_delay_samples

View File

@@ -61,10 +61,10 @@ public:
// FSM EVENTS
bool Event_start_acquisition();
bool Event_start_acquisition_fpga();
bool Event_valid_acquisition();
virtual bool Event_valid_acquisition();
bool Event_stop_channel();
bool Event_failed_acquisition_repeat();
bool Event_failed_acquisition_no_repeat();
virtual bool Event_failed_acquisition_repeat();
virtual bool Event_failed_acquisition_no_repeat();
bool Event_failed_tracking_standby();
private:

View File

@@ -1467,6 +1467,8 @@ void dll_pll_veml_tracking_fpga::stop_tracking()
{
// interrupt the tracking loops
d_stop_tracking = true;
// let the samples pass through
multicorrelator_fpga->unlock_channel();
}