mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-11-15 14:25:00 +00:00
minor corrections
This commit is contained in:
parent
3b9e34edea
commit
a9fdc3ea67
@ -38,7 +38,7 @@ Resampler.sample_freq_out=25000000
|
|||||||
Resampler.item_type=gr_complex
|
Resampler.item_type=gr_complex
|
||||||
|
|
||||||
;######### CHANNELS GLOBAL CONFIG ############
|
;######### CHANNELS GLOBAL CONFIG ############
|
||||||
Channels_B1.count=1
|
Channels_B1.count=8
|
||||||
Channels.in_acquisition=1
|
Channels.in_acquisition=1
|
||||||
Channel.signal=B1
|
Channel.signal=B1
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@ std::cout << "MY SATELLITE " << _prn << "!" << std::endl;
|
|||||||
for (lcv = 0; lcv < _code_length; lcv++)
|
for (lcv = 0; lcv < _code_length; lcv++)
|
||||||
{
|
{
|
||||||
G1[lcv] = G1_register[0];
|
G1[lcv] = G1_register[0];
|
||||||
G2[lcv] = G2_register[-(phase1[prn_idx] - 11) ] ^ G2_register[-(phase2[prn_idx]) - 11];
|
G2[lcv] = G2_register[-(phase1[prn_idx] - 11) ] ^ G2_register[-(phase2[prn_idx] - 11) ];
|
||||||
|
|
||||||
feedback1 = (G1_register[0] + G1_register[1] + G1_register[2] + G1_register[3] + G1_register[4] + G1_register[10]) & 0x1;
|
feedback1 = (G1_register[0] + G1_register[1] + G1_register[2] + G1_register[3] + G1_register[4] + G1_register[10]) & 0x1;
|
||||||
feedback2 = (G2_register[0] + G2_register[2] + G2_register[3] + G2_register[6] + G2_register[7] + G2_register[8] + G2_register[9] + G2_register[10]) & 0x1;
|
feedback2 = (G2_register[0] + G2_register[2] + G2_register[3] + G2_register[6] + G2_register[7] + G2_register[8] + G2_register[9] + G2_register[10]) & 0x1;
|
||||||
@ -103,6 +103,7 @@ std::cout << "MY SATELLITE " << _prn << "!" << std::endl;
|
|||||||
{
|
{
|
||||||
_dest[lcv] = -1;
|
_dest[lcv] = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
delay++;
|
delay++;
|
||||||
delay %= _code_length;
|
delay %= _code_length;
|
||||||
}
|
}
|
||||||
|
@ -1143,7 +1143,6 @@ std::unique_ptr<GNSSBlockInterface> GNSSBlockFactory::GetBlock(
|
|||||||
if (implementation.compare("Pass_Through") == 0)
|
if (implementation.compare("Pass_Through") == 0)
|
||||||
{
|
{
|
||||||
std::unique_ptr<GNSSBlockInterface> block_(new Pass_Through(configuration.get(), role, in_streams, out_streams));
|
std::unique_ptr<GNSSBlockInterface> block_(new Pass_Through(configuration.get(), role, in_streams, out_streams));
|
||||||
std::cout << "Input streams: " <<in_streams<< "Output streams: " <<out_streams <<"GNSS-SDR program ended." << std::endl;
|
|
||||||
|
|
||||||
block = std::move(block_);
|
block = std::move(block_);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user