1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-08-06 22:04:07 +00:00

CI: fix cpplint and prettier-markdown jobs

This commit is contained in:
Carles Fernandez 2021-08-03 14:43:44 +02:00
parent 23a2d3ef89
commit 63c0c06728
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
4 changed files with 7 additions and 18 deletions

View File

@ -27,6 +27,8 @@ All notable changes to GNSS-SDR will be documented in this file.
break some real-time configurations, this feature is disabled by default. It break some real-time configurations, this feature is disabled by default. It
can be activated from the configuration file by adding can be activated from the configuration file by adding
`TelemetryDecoder_1B.enable_reed_solomon=true`. `TelemetryDecoder_1B.enable_reed_solomon=true`.
- Reduction of the TTFF in GPS L1 and Galileo E1 by improving the frame
synchronization mechanism.
### Improvements in Maintainability: ### Improvements in Maintainability:
@ -78,10 +80,8 @@ All notable changes to GNSS-SDR will be documented in this file.
### Improvements in Reliability ### Improvements in Reliability
- Reduction of the TTFF in GPS L1 and Galileo E1 by improving the frame - Bug fix in the Galileo E1/E5 telemetry decoder that produced incorrect timing
synchronization mechanism. information if a satellite is lost and then readquired.
- Bug fix in the Galileo E1/E5 telemetry decoder that produced incorrect timing
information if a satellite is lost and then readquired.
- Check satellites' health status. If a satellite is marked as not healthy in - Check satellites' health status. If a satellite is marked as not healthy in
its navigation message, the corresponding observables are not used for its navigation message, the corresponding observables are not used for
navigation. navigation.

View File

@ -845,14 +845,14 @@ int galileo_telemetry_decoder_gs::general_work(int noutput_items __attribute__((
d_TOW_at_current_symbol_ms = d_TOW_at_Preamble_ms + static_cast<uint32_t>(GALILEO_INAV_PAGE_PART_MS + (d_required_symbols + 1) * d_PRN_code_period_ms); d_TOW_at_current_symbol_ms = d_TOW_at_Preamble_ms + static_cast<uint32_t>(GALILEO_INAV_PAGE_PART_MS + (d_required_symbols + 1) * d_PRN_code_period_ms);
d_inav_nav.set_TOW6_flag(false); d_inav_nav.set_TOW6_flag(false);
} }
//warning: type 0 frame does not contain a valid TOW in some simulated signals, thus it is not safe to activate the following code: // warning: type 0 frame does not contain a valid TOW in some simulated signals, thus it is not safe to activate the following code:
// else if (d_inav_nav.is_TOW0_set() == true) // page 0 arrived and decoded // else if (d_inav_nav.is_TOW0_set() == true) // page 0 arrived and decoded
// { // {
// // TOW_0 refers to the even preamble, but when we decode it we are in the odd part, so 1 second later plus the decoding delay // // TOW_0 refers to the even preamble, but when we decode it we are in the odd part, so 1 second later plus the decoding delay
// d_TOW_at_Preamble_ms = static_cast<uint32_t>(d_inav_nav.get_TOW0() * 1000.0); // d_TOW_at_Preamble_ms = static_cast<uint32_t>(d_inav_nav.get_TOW0() * 1000.0);
// d_TOW_at_current_symbol_ms = d_TOW_at_Preamble_ms + static_cast<uint32_t>(GALILEO_INAV_PAGE_PART_MS + (d_required_symbols + 1) * d_PRN_code_period_ms); // d_TOW_at_current_symbol_ms = d_TOW_at_Preamble_ms + static_cast<uint32_t>(GALILEO_INAV_PAGE_PART_MS + (d_required_symbols + 1) * d_PRN_code_period_ms);
// d_inav_nav.set_TOW0_flag(false); // d_inav_nav.set_TOW0_flag(false);
// //std::cout << "FRAME 0 current tow: " << tmp_d_TOW_at_current_symbol_ms << " vs. " << d_TOW_at_current_symbol_ms + d_PRN_code_period_ms << "\n"; // // std::cout << "FRAME 0 current tow: " << tmp_d_TOW_at_current_symbol_ms << " vs. " << d_TOW_at_current_symbol_ms + d_PRN_code_period_ms << "\n";
// } // }
else else
{ {
@ -969,7 +969,6 @@ int galileo_telemetry_decoder_gs::general_work(int noutput_items __attribute__((
if (d_inav_nav.get_flag_TOW_set() == true or d_fnav_nav.get_flag_TOW_set() == true or d_cnav_nav.get_flag_CRC_test() == true) if (d_inav_nav.get_flag_TOW_set() == true or d_fnav_nav.get_flag_TOW_set() == true or d_cnav_nav.get_flag_CRC_test() == true)
{ {
//std::cout << "TOW is set\n";
current_symbol.TOW_at_current_symbol_ms = d_TOW_at_current_symbol_ms; current_symbol.TOW_at_current_symbol_ms = d_TOW_at_current_symbol_ms;
// todo: Galileo to GPS time conversion should be moved to observable block. // todo: Galileo to GPS time conversion should be moved to observable block.
// current_symbol.TOW_at_current_symbol_ms -= d_delta_t; // Galileo to GPS TOW // current_symbol.TOW_at_current_symbol_ms -= d_delta_t; // Galileo to GPS TOW

View File

@ -75,7 +75,6 @@ dll_pll_veml_tracking_sptr dll_pll_veml_make_tracking(const Dll_Pll_Conf &conf_)
dll_pll_veml_tracking::dll_pll_veml_tracking(const Dll_Pll_Conf &conf_) : gr::block("dll_pll_veml_tracking", gr::io_signature::make(1, 1, sizeof(gr_complex)), dll_pll_veml_tracking::dll_pll_veml_tracking(const Dll_Pll_Conf &conf_) : gr::block("dll_pll_veml_tracking", gr::io_signature::make(1, 1, sizeof(gr_complex)),
gr::io_signature::make(1, 1, sizeof(Gnss_Synchro))) gr::io_signature::make(1, 1, sizeof(Gnss_Synchro)))
{ {
//debug_action1 = false;
// prevent telemetry symbols accumulation in output buffers // prevent telemetry symbols accumulation in output buffers
this->set_max_noutput_items(1); this->set_max_noutput_items(1);
d_trk_parameters = conf_; d_trk_parameters = conf_;
@ -1982,14 +1981,7 @@ int dll_pll_veml_tracking::general_work(int noutput_items __attribute__((unused)
} }
} }
} }
//*** debug only!!
//force tracking loss after 120 seconds
//if (debug_action1 == false and (static_cast<double>(d_sample_counter) / d_trk_parameters.fs_in >= 120))
// {
// d_carrier_lock_fail_counter = 200000; // force loss-of-lock condition
// debug_action1 = true;
// }
//*************
consume_each(d_current_prn_length_samples); consume_each(d_current_prn_length_samples);
d_sample_counter += static_cast<uint64_t>(d_current_prn_length_samples); d_sample_counter += static_cast<uint64_t>(d_current_prn_length_samples);
if (current_synchro_data.Flag_valid_symbol_output || loss_of_lock) if (current_synchro_data.Flag_valid_symbol_output || loss_of_lock)

View File

@ -198,8 +198,6 @@ private:
bool d_dump_mat; bool d_dump_mat;
bool d_acc_carrier_phase_initialized; bool d_acc_carrier_phase_initialized;
bool d_enable_extended_integration; bool d_enable_extended_integration;
//debug only
//bool debug_action1;
}; };