mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-11-04 01:03:04 +00:00 
			
		
		
		
	fix for glonass l2 band
This commit is contained in:
		@@ -279,6 +279,7 @@ std::unique_ptr<GNSSBlockInterface> GNSSBlockFactory::GetObservables(std::shared
 | 
			
		||||
    GPS_channels += configuration->property("Channels_2S.count", 0);
 | 
			
		||||
    GPS_channels += configuration->property("Channels_L5.count", 0);
 | 
			
		||||
    unsigned int Glonass_channels = configuration->property("Channels_1G.count", 0);
 | 
			
		||||
    Glonass_channels += configuration->property("Channels_2G.count", 0);
 | 
			
		||||
    unsigned int extra_channels = 1;  // For monitor channel sample counter
 | 
			
		||||
    return GetBlock(configuration, "Observables", implementation,
 | 
			
		||||
        Galileo_channels +
 | 
			
		||||
@@ -302,6 +303,7 @@ std::unique_ptr<GNSSBlockInterface> GNSSBlockFactory::GetPVT(std::shared_ptr<Con
 | 
			
		||||
    GPS_channels += configuration->property("Channels_2S.count", 0);
 | 
			
		||||
    GPS_channels += configuration->property("Channels_L5.count", 0);
 | 
			
		||||
    unsigned int Glonass_channels = configuration->property("Channels_1G.count", 0);
 | 
			
		||||
    Glonass_channels += configuration->property("Channels_2G.count", 0);
 | 
			
		||||
    return GetBlock(configuration, "PVT", implementation, Galileo_channels + GPS_channels + Glonass_channels, 0);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user