mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-11-08 02:50:01 +00:00
Add Glonass channels to PVT and Observables
This commit is contained in:
parent
eba7dee7a7
commit
88a8de38b8
@ -229,7 +229,8 @@ std::unique_ptr<GNSSBlockInterface> GNSSBlockFactory::GetObservables(std::shared
|
|||||||
Galileo_channels += configuration->property("Channels_5X.count", 0);
|
Galileo_channels += configuration->property("Channels_5X.count", 0);
|
||||||
unsigned int GPS_channels = configuration->property("Channels_1C.count", 0);
|
unsigned int GPS_channels = configuration->property("Channels_1C.count", 0);
|
||||||
GPS_channels += configuration->property("Channels_2S.count", 0);
|
GPS_channels += configuration->property("Channels_2S.count", 0);
|
||||||
return GetBlock(configuration, "Observables", implementation, Galileo_channels + GPS_channels, Galileo_channels + GPS_channels);
|
unsigned int Glonass_channels = configuration->property("Channels_1G.count", 0);
|
||||||
|
return GetBlock(configuration, "Observables", implementation, Galileo_channels + GPS_channels + Glonass_channels, Galileo_channels + GPS_channels + Glonass_channels);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -243,7 +244,8 @@ std::unique_ptr<GNSSBlockInterface> GNSSBlockFactory::GetPVT(std::shared_ptr<Con
|
|||||||
Galileo_channels += configuration->property("Channels_5X.count", 0);
|
Galileo_channels += configuration->property("Channels_5X.count", 0);
|
||||||
unsigned int GPS_channels = configuration->property("Channels_1C.count", 0);
|
unsigned int GPS_channels = configuration->property("Channels_1C.count", 0);
|
||||||
GPS_channels += configuration->property("Channels_2S.count", 0);
|
GPS_channels += configuration->property("Channels_2S.count", 0);
|
||||||
return GetBlock(configuration, "PVT", implementation, Galileo_channels + GPS_channels, 0);
|
unsigned int Glonass_channels = configuration->property("Channels_1G.count", 0);
|
||||||
|
return GetBlock(configuration, "PVT", implementation, Galileo_channels + GPS_channels + Glonass_channels, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user