From 69e6816392ede47b32919727fee86c836376788a Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Wed, 24 Apr 2019 20:51:01 +0200 Subject: [PATCH] Make coexistence of different instances of gnss-sdr in the same machine easier If the user forgot to set parameter PVT.rtcm_output_file_enabled to false in the configuration file, this raised up the RTCM server even if flag_rtcm_server was set to false, thus preventing the execution of more than one instance of gnss-sdr in the same machine. By setting the default value of rtcm_output_file_enabled to false, just letting the PVT.flag_rtcm_server parameter to get its default value, which is false, enables more than one instance in the same host machine. This also alleviates by default optional processing load in embedded devices --- src/algorithms/PVT/adapters/rtklib_pvt.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algorithms/PVT/adapters/rtklib_pvt.cc b/src/algorithms/PVT/adapters/rtklib_pvt.cc index 440036116..ac8c18f48 100644 --- a/src/algorithms/PVT/adapters/rtklib_pvt.cc +++ b/src/algorithms/PVT/adapters/rtklib_pvt.cc @@ -725,7 +725,7 @@ Rtklib_Pvt::Rtklib_Pvt(ConfigurationInterface* configuration, pvt_output_parameters.kml_output_enabled = configuration->property(role + ".kml_output_enabled", default_output_enabled); pvt_output_parameters.xml_output_enabled = configuration->property(role + ".xml_output_enabled", default_output_enabled); pvt_output_parameters.nmea_output_file_enabled = configuration->property(role + ".nmea_output_file_enabled", default_output_enabled); - pvt_output_parameters.rtcm_output_file_enabled = configuration->property(role + ".rtcm_output_file_enabled", default_output_enabled); + pvt_output_parameters.rtcm_output_file_enabled = configuration->property(role + ".rtcm_output_file_enabled", false); std::string default_output_path = configuration->property(role + ".output_path", std::string(".")); pvt_output_parameters.output_path = default_output_path;