From 3f87e598a9f1a0de588e444ccc076eb4eaf95a15 Mon Sep 17 00:00:00 2001 From: miguel Date: Thu, 15 Dec 2022 12:21:01 +0100 Subject: [PATCH] ADD: trk_cmd carrier freq Hz --- src/algorithms/PVT/libs/vtl_engine.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/algorithms/PVT/libs/vtl_engine.cc b/src/algorithms/PVT/libs/vtl_engine.cc index 720991ef4..fa7d53ea9 100755 --- a/src/algorithms/PVT/libs/vtl_engine.cc +++ b/src/algorithms/PVT/libs/vtl_engine.cc @@ -244,8 +244,8 @@ bool Vtl_Engine::vtl_loop(Vtl_Data& new_data) // Notice: keep the same satellite order as in the Vtl_Data matrices // sample code TrackingCmd trk_cmd; - trk_cmd.carrier_phase_rads = 0; - trk_cmd.carrier_freq_hz = 0; + trk_cmd.carrier_phase_rads = 0; // difficult of calculation + trk_cmd.carrier_freq_hz = doppler_hz_filt(i) + kf_x(7)/Lambda_GPS_L1; // this is el doppler WITHOUTH sintony correction trk_cmd.carrier_freq_rate_hz_s = 0; trk_cmd.code_phase_chips = 0; trk_cmd.enable_carrier_nco_cmd = true;