mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-04-19 09:13:20 +00:00
Bug fixes and GPS to Galileo delta_t debug test implentation
This commit is contained in:
parent
75598c07d4
commit
a161d15366
conf
src
algorithms/telemetry_decoder/gnuradio_blocks
core/system_parameters
@ -164,7 +164,7 @@ Resampler.sample_freq_out=4000000
|
||||
|
||||
;######### CHANNELS GLOBAL CONFIG ############
|
||||
;#count: Number of available satellite channels.
|
||||
Channels.count=4
|
||||
Channels.count=1
|
||||
;#in_acquisition: Number of channels simultaneously acquiring
|
||||
Channels.in_acquisition=1
|
||||
;#system: GPS, GLONASS, GALILEO, SBAS or COMPASS
|
||||
|
@ -274,6 +274,15 @@ void galileo_e1b_telemetry_decoder_cc::decode_word(double *page_part_symbols,int
|
||||
std::cout<<"T0G="<<almanac.t_0G_10<<std::endl;
|
||||
std::cout<<"WN_0G_10="<<almanac.WN_0G_10<<std::endl;
|
||||
|
||||
std::cout<<"Actual parameters:"<<std::endl;
|
||||
std::cout<<"d_TOW_at_current_symbol="<<d_TOW_at_current_symbol<<std::endl;
|
||||
std::cout<<"d_nav.WN_0="<<d_nav.WN_0<<std::endl;
|
||||
|
||||
double delta_t;
|
||||
delta_t=almanac.A_0G_10+almanac.A_1G_10*(d_TOW_at_current_symbol-almanac.t_0G_10+604800*(fmod((d_nav.WN_0-almanac.WN_0G_10),64)));
|
||||
|
||||
std::cout<<"delta_t="<<delta_t<<"[s]"<<std::endl;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -79,7 +79,7 @@ const double TWO_N43 = (1.136868377216160e-013); //!< 2^-43
|
||||
const double TWO_N46 = (1.4210854715202e-014); //!< 2^-46
|
||||
|
||||
const double TWO_N50 = (8.881784197001252e-016); //!< 2^-50
|
||||
const double TWO_N51 = (4.44089209850063e+016); //!< 2^-51
|
||||
const double TWO_N51 = (4.44089209850063e-016); //!< 2^-51
|
||||
const double TWO_N55 = (2.775557561562891e-017); //!< 2^-55
|
||||
const double TWO_N59 = (1.73472347597681e-018); //!< 2^-59
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user