mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-06-25 22:43:14 +00:00
Adding configuration option to disable PVT observables clock correction
This commit is contained in:
parent
8b04de9462
commit
889e7b9695
|
@ -769,6 +769,8 @@ Rtklib_Pvt::Rtklib_Pvt(ConfigurationInterface* configuration,
|
||||||
// Show time in local zone
|
// Show time in local zone
|
||||||
pvt_output_parameters.show_local_time_zone = configuration->property(role + ".show_local_time_zone", false);
|
pvt_output_parameters.show_local_time_zone = configuration->property(role + ".show_local_time_zone", false);
|
||||||
|
|
||||||
|
//enable or disable rx clock corection in observables
|
||||||
|
pvt_output_parameters.enable_rx_clock_correction = configuration->property(role + ".enable_rx_clock_correction", true);
|
||||||
// make PVT object
|
// make PVT object
|
||||||
pvt_ = rtklib_make_pvt_gs(in_streams_, pvt_output_parameters, rtk);
|
pvt_ = rtklib_make_pvt_gs(in_streams_, pvt_output_parameters, rtk);
|
||||||
DLOG(INFO) << "pvt(" << pvt_->unique_id() << ")";
|
DLOG(INFO) << "pvt(" << pvt_->unique_id() << ")";
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -213,6 +213,7 @@ private:
|
||||||
|
|
||||||
int32_t max_obs_block_rx_clock_offset_ms;
|
int32_t max_obs_block_rx_clock_offset_ms;
|
||||||
bool d_waiting_obs_block_rx_clock_offset_correction_msg;
|
bool d_waiting_obs_block_rx_clock_offset_correction_msg;
|
||||||
|
bool d_enable_rx_clock_correction;
|
||||||
std::map<int, Gnss_Synchro> gnss_observables_map;
|
std::map<int, Gnss_Synchro> gnss_observables_map;
|
||||||
std::map<int, Gnss_Synchro> gnss_observables_map_t0;
|
std::map<int, Gnss_Synchro> gnss_observables_map_t0;
|
||||||
std::map<int, Gnss_Synchro> gnss_observables_map_t1;
|
std::map<int, Gnss_Synchro> gnss_observables_map_t1;
|
||||||
|
|
|
@ -72,6 +72,7 @@ Pvt_Conf::Pvt_Conf()
|
||||||
xml_output_path = std::string(".");
|
xml_output_path = std::string(".");
|
||||||
rtcm_output_file_path = std::string(".");
|
rtcm_output_file_path = std::string(".");
|
||||||
|
|
||||||
|
enable_rx_clock_correction=true;
|
||||||
monitor_enabled = false;
|
monitor_enabled = false;
|
||||||
protobuf_enabled = true;
|
protobuf_enabled = true;
|
||||||
udp_port = 0;
|
udp_port = 0;
|
||||||
|
|
|
@ -89,6 +89,7 @@ public:
|
||||||
std::string udp_addresses;
|
std::string udp_addresses;
|
||||||
int udp_port;
|
int udp_port;
|
||||||
|
|
||||||
|
bool enable_rx_clock_correction;
|
||||||
bool show_local_time_zone;
|
bool show_local_time_zone;
|
||||||
|
|
||||||
Pvt_Conf();
|
Pvt_Conf();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user