mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-11-06 02:03:04 +00:00
updated the tracking pull-in test for the FPGA. To be tested.
This commit is contained in:
@@ -496,12 +496,14 @@ void GalileoE1PcpsAmbiguousAcquisitionFpga::set_single_doppler_flag(unsigned int
|
||||
}
|
||||
// this function is only used for the unit tests
|
||||
void GalileoE1PcpsAmbiguousAcquisitionFpga::read_acquisition_results(uint32_t *max_index,
|
||||
float *max_magnitude, uint64_t *initial_sample, float *power_sum, uint32_t *doppler_index)
|
||||
float *max_magnitude, float *second_magnitude, uint64_t *initial_sample, uint32_t *doppler_index, uint32_t *total_fft_scaling_factor)
|
||||
|
||||
{
|
||||
acquisition_fpga_->read_acquisition_results(max_index, max_magnitude,
|
||||
initial_sample, power_sum, doppler_index);
|
||||
acquisition_fpga_->read_acquisition_results(max_index, max_magnitude, second_magnitude,
|
||||
initial_sample, doppler_index, total_fft_scaling_factor);
|
||||
}
|
||||
|
||||
|
||||
// this function is only used for the unit tests
|
||||
void GalileoE1PcpsAmbiguousAcquisitionFpga::reset_acquisition(void)
|
||||
{
|
||||
|
||||
@@ -144,7 +144,8 @@ public:
|
||||
* \brief This function is only used in the unit tests
|
||||
*/
|
||||
void read_acquisition_results(uint32_t *max_index,
|
||||
float *max_magnitude, uint64_t *initial_sample, float *power_sum, uint32_t *doppler_index);
|
||||
float *max_magnitude, float *second_magnitude, uint64_t *initial_sample, uint32_t *doppler_index, uint32_t *total_fft_scaling_factor);
|
||||
|
||||
|
||||
/*!
|
||||
* \brief This function is only used in the unit tests
|
||||
|
||||
@@ -380,10 +380,11 @@ void GalileoE5aPcpsAcquisitionFpga::set_single_doppler_flag(unsigned int single_
|
||||
}
|
||||
// this function is only used for the unit tests
|
||||
void GalileoE5aPcpsAcquisitionFpga::read_acquisition_results(uint32_t *max_index,
|
||||
float *max_magnitude, uint64_t *initial_sample, float *power_sum, uint32_t *doppler_index)
|
||||
float *max_magnitude, float *second_magnitude, uint64_t *initial_sample, uint32_t *doppler_index, uint32_t *total_fft_scaling_factor)
|
||||
|
||||
{
|
||||
acquisition_fpga_->read_acquisition_results(max_index, max_magnitude,
|
||||
initial_sample, power_sum, doppler_index);
|
||||
acquisition_fpga_->read_acquisition_results(max_index, max_magnitude, second_magnitude,
|
||||
initial_sample, doppler_index, total_fft_scaling_factor);
|
||||
}
|
||||
|
||||
// this function is only used for the unit tests
|
||||
|
||||
@@ -132,7 +132,8 @@ public:
|
||||
* \brief This function is only used in the unit tests
|
||||
*/
|
||||
void read_acquisition_results(uint32_t *max_index,
|
||||
float *max_magnitude, uint64_t *initial_sample, float *power_sum, uint32_t *doppler_index);
|
||||
float *max_magnitude, float *second_magnitude, uint64_t *initial_sample, uint32_t *doppler_index, uint32_t *total_fft_scaling_factor);
|
||||
|
||||
|
||||
/*!
|
||||
* \brief This function is only used in the unit tests
|
||||
|
||||
@@ -283,10 +283,11 @@ void GpsL1CaPcpsAcquisitionFpga::set_single_doppler_flag(unsigned int single_dop
|
||||
}
|
||||
// this function is only used for the unit tests
|
||||
void GpsL1CaPcpsAcquisitionFpga::read_acquisition_results(uint32_t *max_index,
|
||||
float *max_magnitude, uint64_t *initial_sample, float *power_sum, uint32_t *doppler_index)
|
||||
float *max_magnitude, float *second_magnitude, uint64_t *initial_sample, uint32_t *doppler_index, uint32_t *total_fft_scaling_factor)
|
||||
|
||||
{
|
||||
acquisition_fpga_->read_acquisition_results(max_index, max_magnitude,
|
||||
initial_sample, power_sum, doppler_index);
|
||||
acquisition_fpga_->read_acquisition_results(max_index, max_magnitude, second_magnitude,
|
||||
initial_sample, doppler_index, total_fft_scaling_factor);
|
||||
}
|
||||
|
||||
// this function is only used for the unit tests
|
||||
|
||||
@@ -142,7 +142,7 @@ public:
|
||||
* \brief This function is only used in the unit tests
|
||||
*/
|
||||
void read_acquisition_results(uint32_t *max_index,
|
||||
float *max_magnitude, uint64_t *initial_sample, float *power_sum, uint32_t *doppler_index);
|
||||
float *max_magnitude, float *second_magnitude, uint64_t *initial_sample, uint32_t *doppler_index, uint32_t *total_fft_scaling_factor);
|
||||
|
||||
/*!
|
||||
* \brief This function is only used in the unit tests
|
||||
|
||||
@@ -351,12 +351,15 @@ void GpsL5iPcpsAcquisitionFpga::set_single_doppler_flag(unsigned int single_dopp
|
||||
}
|
||||
// this function is only used for the unit tests
|
||||
void GpsL5iPcpsAcquisitionFpga::read_acquisition_results(uint32_t *max_index,
|
||||
float *max_magnitude, uint64_t *initial_sample, float *power_sum, uint32_t *doppler_index)
|
||||
float *max_magnitude, float *second_magnitude, uint64_t *initial_sample, uint32_t *doppler_index, uint32_t *total_fft_scaling_factor)
|
||||
|
||||
{
|
||||
acquisition_fpga_->read_acquisition_results(max_index, max_magnitude,
|
||||
initial_sample, power_sum, doppler_index);
|
||||
acquisition_fpga_->read_acquisition_results(max_index, max_magnitude, second_magnitude,
|
||||
initial_sample, doppler_index, total_fft_scaling_factor);
|
||||
}
|
||||
|
||||
|
||||
|
||||
// this function is only used for the unit tests
|
||||
void GpsL5iPcpsAcquisitionFpga::reset_acquisition(void)
|
||||
{
|
||||
|
||||
@@ -142,7 +142,8 @@ public:
|
||||
* \brief This function is only used in the unit tests
|
||||
*/
|
||||
void read_acquisition_results(uint32_t *max_index,
|
||||
float *max_magnitude, uint64_t *initial_sample, float *power_sum, uint32_t *doppler_index);
|
||||
float *max_magnitude, float *second_magnitude, uint64_t *initial_sample, uint32_t *doppler_index, uint32_t *total_fft_scaling_factor);
|
||||
|
||||
|
||||
/*!
|
||||
* \brief This function is only used in the unit tests
|
||||
|
||||
@@ -461,8 +461,12 @@ void pcps_acquisition_fpga::set_single_doppler_flag(unsigned int single_doppler_
|
||||
|
||||
// this function is only used for the unit tests
|
||||
void pcps_acquisition_fpga::read_acquisition_results(uint32_t *max_index,
|
||||
float *max_magnitude, uint64_t *initial_sample, float *power_sum, uint32_t *doppler_index)
|
||||
float *max_magnitude, float *second_magnitude, uint64_t *initial_sample, uint32_t *doppler_index, uint32_t *total_fft_scaling_factor)
|
||||
{
|
||||
float input_power; // not used
|
||||
acquisition_fpga->read_acquisition_results(max_index, max_magnitude, second_magnitude, initial_sample, &input_power, doppler_index, total_fft_scaling_factor);
|
||||
|
||||
|
||||
// acquisition_fpga->read_acquisition_results(max_index, max_magnitude,
|
||||
// initial_sample, power_sum, doppler_index);
|
||||
}
|
||||
|
||||
@@ -246,7 +246,8 @@ public:
|
||||
* \brief This funciton is only used for the unit tests
|
||||
*/
|
||||
void read_acquisition_results(uint32_t *max_index,
|
||||
float *max_magnitude, uint64_t *initial_sample, float *power_sum, uint32_t *doppler_index);
|
||||
float *max_magnitude, float *second_magnitude, uint64_t *initial_sample, uint32_t *doppler_index, uint32_t *total_fft_scaling_factor);
|
||||
|
||||
|
||||
/*!
|
||||
* \brief This funciton is only used for the unit tests
|
||||
|
||||
Reference in New Issue
Block a user