mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 04:30:33 +00:00
Read number of executed dwells
This commit is contained in:
parent
2cc2e93d10
commit
25ebeb746a
@ -109,6 +109,10 @@ bool acquisition_dump_reader::read_binary_acq()
|
||||
positive_acq = *static_cast<int*>(var2_->data);
|
||||
Mat_VarFree(var2_);
|
||||
|
||||
var2_ = Mat_VarRead(matfile, "num_dwells");
|
||||
num_dwells = *static_cast<int*>(var2_->data);
|
||||
Mat_VarFree(var2_);
|
||||
|
||||
var2_ = Mat_VarRead(matfile, "PRN");
|
||||
PRN = *static_cast<int*>(var2_->data);
|
||||
Mat_VarFree(var2_);
|
||||
@ -211,6 +215,7 @@ acquisition_dump_reader::acquisition_dump_reader(const std::string& basename,
|
||||
threshold = 0.0;
|
||||
positive_acq = 0;
|
||||
sample_counter = 0;
|
||||
num_dwells = 0;
|
||||
PRN = 0;
|
||||
if (d_doppler_step == 0) d_doppler_step = 1;
|
||||
d_num_doppler_bins = static_cast<unsigned int>(ceil(static_cast<double>(static_cast<int>(d_doppler_max) - static_cast<int>(-d_doppler_max)) / static_cast<double>(d_doppler_step)));
|
||||
|
@ -64,6 +64,7 @@ public:
|
||||
float threshold;
|
||||
int positive_acq;
|
||||
unsigned int PRN;
|
||||
unsigned int num_dwells;
|
||||
long unsigned int sample_counter;
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user