1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-10 17:30:33 +00:00

ADD: trk_cmd carrier freq Hz

This commit is contained in:
miguel 2022-12-15 12:21:01 +01:00
parent 5a7b2e8184
commit 3f87e598a9

View File

@ -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 // Notice: keep the same satellite order as in the Vtl_Data matrices
// sample code // sample code
TrackingCmd trk_cmd; TrackingCmd trk_cmd;
trk_cmd.carrier_phase_rads = 0; trk_cmd.carrier_phase_rads = 0; // difficult of calculation
trk_cmd.carrier_freq_hz = 0; 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.carrier_freq_rate_hz_s = 0;
trk_cmd.code_phase_chips = 0; trk_cmd.code_phase_chips = 0;
trk_cmd.enable_carrier_nco_cmd = true; trk_cmd.enable_carrier_nco_cmd = true;