1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 20:20:35 +00:00

Debug gnuradio buffer latency test 2

This commit is contained in:
Javier Arribas 2019-07-04 12:54:45 +02:00
parent 7877754cb2
commit 951e179bb8
2 changed files with 3 additions and 6 deletions

View File

@ -62,9 +62,8 @@ gps_l1_ca_telemetry_decoder_gs::gps_l1_ca_telemetry_decoder_gs(
bool dump) : gr::block("gps_navigation_gs", gr::io_signature::make(1, 1, sizeof(Gnss_Synchro)), bool dump) : gr::block("gps_navigation_gs", gr::io_signature::make(1, 1, sizeof(Gnss_Synchro)),
gr::io_signature::make(1, 1, sizeof(Gnss_Synchro))) gr::io_signature::make(1, 1, sizeof(Gnss_Synchro)))
{ {
this->set_max_output_buffer(128); //this->set_max_output_buffer(128);
LOG(INFO) << "current tlm output buffer set to " << this->max_output_buffer(0); this->set_max_noutput_items(1);
std::cout << "current tlm output buffer set to " << this->max_output_buffer(0) << "\n";
// Ephemeris data port out // Ephemeris data port out
this->message_port_register_out(pmt::mp("telemetry")); this->message_port_register_out(pmt::mp("telemetry"));

View File

@ -92,9 +92,7 @@ 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)))
{ {
this->set_max_output_buffer(128); this->set_max_noutput_items(1);
LOG(INFO) << "current tracking output buffer set to " << this->max_output_buffer(0);
std::cout << "current tracking output buffer set to " << this->max_output_buffer(0) << "\n";
trk_parameters = conf_; trk_parameters = conf_;
// Telemetry bit synchronization message port input // Telemetry bit synchronization message port input
this->message_port_register_out(pmt::mp("events")); this->message_port_register_out(pmt::mp("events"));