mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 20:50:33 +00:00
Apply coding style
This commit is contained in:
parent
27baa7e45d
commit
1b5a3b6fa4
@ -70,7 +70,7 @@ GalileoE1PcpsAmbiguousAcquisition::GalileoE1PcpsAmbiguousAcquisition(
|
|||||||
|
|
||||||
bit_transition_flag_ = configuration_->property(role + ".bit_transition_flag", false);
|
bit_transition_flag_ = configuration_->property(role + ".bit_transition_flag", false);
|
||||||
use_CFAR_algorithm_flag_ = configuration_->property(role + ".use_CFAR_algorithm", true); //will be false in future versions
|
use_CFAR_algorithm_flag_ = configuration_->property(role + ".use_CFAR_algorithm", true); //will be false in future versions
|
||||||
acquire_pilot_= configuration_->property(role + ".acquire_pilot", false); //will be true in future versions
|
acquire_pilot_ = configuration_->property(role + ".acquire_pilot", false); //will be true in future versions
|
||||||
|
|
||||||
max_dwells_ = configuration_->property(role + ".max_dwells", 1);
|
max_dwells_ = configuration_->property(role + ".max_dwells", 1);
|
||||||
|
|
||||||
@ -96,7 +96,6 @@ GalileoE1PcpsAmbiguousAcquisition::GalileoE1PcpsAmbiguousAcquisition(
|
|||||||
bit_transition_flag_, use_CFAR_algorithm_flag_, dump_, blocking_,
|
bit_transition_flag_, use_CFAR_algorithm_flag_, dump_, blocking_,
|
||||||
dump_filename_);
|
dump_filename_);
|
||||||
DLOG(INFO) << "acquisition(" << acquisition_sc_->unique_id() << ")";
|
DLOG(INFO) << "acquisition(" << acquisition_sc_->unique_id() << ")";
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -253,17 +252,18 @@ void GalileoE1PcpsAmbiguousAcquisition::set_local_code()
|
|||||||
|
|
||||||
std::complex<float> * code = new std::complex<float>[code_length_];
|
std::complex<float> * code = new std::complex<float>[code_length_];
|
||||||
|
|
||||||
if (acquire_pilot_==true)
|
if (acquire_pilot_ == true)
|
||||||
{
|
{
|
||||||
//set local signal generator to Galileo E1 pilot component (1C)
|
//set local signal generator to Galileo E1 pilot component (1C)
|
||||||
char pilot_signal[3]="1C";
|
char pilot_signal[3] = "1C";
|
||||||
galileo_e1_code_gen_complex_sampled(code, pilot_signal,
|
galileo_e1_code_gen_complex_sampled(code, pilot_signal,
|
||||||
cboc, gnss_synchro_->PRN, fs_in_, 0, false);
|
cboc, gnss_synchro_->PRN, fs_in_, 0, false);
|
||||||
}else
|
}
|
||||||
{
|
else
|
||||||
galileo_e1_code_gen_complex_sampled(code, gnss_synchro_->Signal,
|
{
|
||||||
cboc, gnss_synchro_->PRN, fs_in_, 0, false);
|
galileo_e1_code_gen_complex_sampled(code, gnss_synchro_->Signal,
|
||||||
}
|
cboc, gnss_synchro_->PRN, fs_in_, 0, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
for (unsigned int i = 0; i < sampled_ms_ / 4; i++)
|
for (unsigned int i = 0; i < sampled_ms_ / 4; i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user