mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 20:20:35 +00:00
Add Glonass channels to PVT and Observables
This commit is contained in:
parent
6d18c137bc
commit
18c96378dc
@ -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