mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-02-16 02:50:26 +00:00
Store GPS almanac
This commit is contained in:
parent
bc058d33da
commit
49769059a7
@ -157,6 +157,15 @@ void rtklib_pvt_cc::msg_handler_telemetry(pmt::pmt_t msg)
|
||||
DLOG(INFO) << "New CNAV UTC record has arrived ";
|
||||
}
|
||||
|
||||
else if (pmt::any_ref(msg).type() == typeid(std::shared_ptr<Gps_Almanac>))
|
||||
{
|
||||
// ### GPS ALMANAC ###
|
||||
std::shared_ptr<Gps_Almanac> gps_almanac;
|
||||
gps_almanac = boost::any_cast<std::shared_ptr<Gps_Almanac>>(pmt::any_ref(msg));
|
||||
d_ls_pvt->gps_almanac_map[gps_almanac->i_satellite_PRN] = *gps_almanac;
|
||||
DLOG(INFO) << "New GPS almanac record has arrived ";
|
||||
}
|
||||
|
||||
// **************** Galileo telemetry ********************
|
||||
else if (pmt::any_ref(msg).type() == typeid(std::shared_ptr<Galileo_Ephemeris>))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user