mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-12 02:10:34 +00:00
Improve error messages
This commit is contained in:
parent
d6fd2c244f
commit
89efa10236
@ -20,10 +20,6 @@ SignalSource.freq=1575420000
|
|||||||
SignalSource.switch_position=2
|
SignalSource.switch_position=2
|
||||||
SignalSource.gain_mode_rx1=slow_attack
|
SignalSource.gain_mode_rx1=slow_attack
|
||||||
|
|
||||||
;######### SIGNAL_CONDITIONER CONFIG ############
|
|
||||||
SignalConditioner.implementation=Pass_Through
|
|
||||||
SignalConditioner.enable_FPGA=true
|
|
||||||
|
|
||||||
;######### CHANNELS GLOBAL CONFIG ############
|
;######### CHANNELS GLOBAL CONFIG ############
|
||||||
Channels.in_acquisition=1
|
Channels.in_acquisition=1
|
||||||
Channels_1C.count=12
|
Channels_1C.count=12
|
||||||
|
@ -1265,7 +1265,7 @@ std::unique_ptr<GNSSBlockInterface> GNSSBlockFactory::GetBlock(
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Consider making this a fatal error, terminating the program. Unfortunately, existing unit tests expect otherwise
|
// Consider making this a fatal error, terminating the program. Unfortunately, existing unit tests expect otherwise
|
||||||
LOG(ERROR) << role << "." << implementation << ": Undefined implementation for block";
|
LOG(ERROR) << role << ".implementation=" << implementation << " is an undefined implementation.";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (const std::exception& e)
|
catch (const std::exception& e)
|
||||||
@ -1464,7 +1464,7 @@ std::unique_ptr<AcquisitionInterface> GNSSBlockFactory::GetAcqBlock(
|
|||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
LOG(ERROR) << role << " block: Undefined implementation " << implementation;
|
LOG(ERROR) << role << " block: Undefined implementation" << (implementation == "Wrong"s ? "" : " "s + implementation);
|
||||||
}
|
}
|
||||||
return block;
|
return block;
|
||||||
}
|
}
|
||||||
@ -1618,7 +1618,7 @@ std::unique_ptr<TrackingInterface> GNSSBlockFactory::GetTrkBlock(
|
|||||||
#endif
|
#endif
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
LOG(ERROR) << role << " block: Undefined implementation " << implementation;
|
LOG(ERROR) << role << " block: Undefined implementation" << (implementation == "Wrong"s ? "" : " "s + implementation);
|
||||||
}
|
}
|
||||||
return block;
|
return block;
|
||||||
}
|
}
|
||||||
@ -1709,7 +1709,7 @@ std::unique_ptr<TelemetryDecoderInterface> GNSSBlockFactory::GetTlmBlock(
|
|||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
LOG(ERROR) << role << " block: Undefined implementation " << implementation;
|
LOG(ERROR) << role << " block: Undefined implementation" << (implementation == "Wrong"s ? "" : " "s + implementation);
|
||||||
}
|
}
|
||||||
|
|
||||||
return block;
|
return block;
|
||||||
|
Loading…
Reference in New Issue
Block a user