1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-16 04:05:46 +00:00

Increasing output buffer for GPS L1 telemetry block to avoid GNURadio flowgraph deadlocks

This commit is contained in:
Javier Arribas 2017-05-03 17:58:21 +02:00
parent a97e9cfda8
commit 48bd883460
2 changed files with 3 additions and 1 deletions

View File

@ -454,6 +454,7 @@ int galileo_e1b_telemetry_decoder_cc::general_work (int noutput_items __attribut
} }
current_synchro_data.TOW_at_current_symbol_s = floor(d_TOW_at_current_symbol*1000.0)/1000.0; current_synchro_data.TOW_at_current_symbol_s = floor(d_TOW_at_current_symbol*1000.0)/1000.0;
current_synchro_data.TOW_at_current_symbol_s -=delta_t; //Galileo to GPS TOW
if(d_dump == true) if(d_dump == true)
{ {

View File

@ -109,6 +109,8 @@ gps_l1_ca_telemetry_decoder_cc::gps_l1_ca_telemetry_decoder_cc(
d_decimation_output_factor = 1; d_decimation_output_factor = 1;
d_channel = 0; d_channel = 0;
flag_PLL_180_deg_phase_locked = false; flag_PLL_180_deg_phase_locked = false;
//set minimum output buffer to avoid deadlock when combined with other GNSS systems or signals with slower symbol rates
this->set_min_output_buffer(3000);
} }
@ -380,7 +382,6 @@ int gps_l1_ca_telemetry_decoder_cc::general_work (int noutput_items __attribute_
} }
//3. Make the output (copy the object contents to the GNURadio reserved memory) //3. Make the output (copy the object contents to the GNURadio reserved memory)
*out[0] = current_synchro_data; *out[0] = current_synchro_data;
//std::cout<<"GPS L1 TLM output on CH="<<this->d_channel << " SAMPLE STAMP="<<d_sample_counter/d_decimation_output_factor<<std::endl;
return 1; return 1;
} }