1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-22 18:14:53 +00:00

Debug Build: Measuring signal timestamp vs. GNSS obs RX time

This commit is contained in:
Javier Arribas
2021-04-12 18:37:06 +02:00
parent 3353a62296
commit 26bc9c9b5a
6 changed files with 84 additions and 34 deletions

View File

@@ -110,8 +110,9 @@ int Gnss_Sdr_Timestamp::work(int noutput_items,
tmp_obj->tow_ms = next_timetag.tow_ms;
tmp_obj->week = next_timetag.week;
tmp_obj->tow_ms_fraction = 0;
tmp_obj->rx_time = 0;
add_item_tag(ch, this->nitems_written(ch) - diff_samplecount, pmt::mp("timetag"), pmt::make_any(tmp_obj));
std::cout << "[" << this->nitems_written(ch) - diff_samplecount << "] Sent TimeTag SC: " << next_timetag_samplecount * bytes_to_samples << ", Week: " << next_timetag.week << ", TOW: " << next_timetag.tow_ms << " [ms] \n";
//std::cout << "[" << this->nitems_written(ch) - diff_samplecount << "] Sent TimeTag SC: " << next_timetag_samplecount * bytes_to_samples << ", Week: " << next_timetag.week << ", TOW: " << next_timetag.tow_ms << " [ms] \n";
get_next_timetag = true;
}
}