mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-11-15 14:25:00 +00:00
MOD: vtl_data updated
This commit is contained in:
parent
ccf2b830a2
commit
aeb57a8698
7
src/algorithms/PVT/libs/vtl_data.cc
Normal file → Executable file
7
src/algorithms/PVT/libs/vtl_data.cc
Normal file → Executable file
@ -30,9 +30,16 @@ void Vtl_Data::init_storage(int n_sats)
|
|||||||
sat_dts = arma::mat(n_sats, 2);
|
sat_dts = arma::mat(n_sats, 2);
|
||||||
sat_var = arma::vec(n_sats);
|
sat_var = arma::vec(n_sats);
|
||||||
sat_health_flag = arma::vec(n_sats);
|
sat_health_flag = arma::vec(n_sats);
|
||||||
|
|
||||||
pr_m = arma::vec(n_sats);
|
pr_m = arma::vec(n_sats);
|
||||||
doppler_hz = arma::vec(n_sats);
|
doppler_hz = arma::vec(n_sats);
|
||||||
carrier_phase_rads = arma::vec(n_sats);
|
carrier_phase_rads = arma::vec(n_sats);
|
||||||
|
|
||||||
|
rx_p = arma::mat(1, 3);
|
||||||
|
rx_v = arma::mat(1, 3);
|
||||||
|
rx_dts = arma::mat(1, 2);
|
||||||
|
rx_var = arma::vec(1);
|
||||||
|
|
||||||
epoch_tow_s = 0;
|
epoch_tow_s = 0;
|
||||||
sample_counter = 0;
|
sample_counter = 0;
|
||||||
}
|
}
|
||||||
|
4
src/algorithms/PVT/libs/vtl_data.h
Normal file → Executable file
4
src/algorithms/PVT/libs/vtl_data.h
Normal file → Executable file
@ -43,6 +43,10 @@ public:
|
|||||||
arma::vec doppler_hz; // satellite Carrier Dopplers [Hz]
|
arma::vec doppler_hz; // satellite Carrier Dopplers [Hz]
|
||||||
arma::vec carrier_phase_rads; // satellite accumulated carrier phases [rads]
|
arma::vec carrier_phase_rads; // satellite accumulated carrier phases [rads]
|
||||||
|
|
||||||
|
arma::mat rx_p; // Receiver ENU Position [m]
|
||||||
|
arma::mat rx_v; // Receiver Velocity [m/s]
|
||||||
|
arma::mat rx_dts; // Receiver clock bias and drift [s,s/s]
|
||||||
|
arma::vec rx_var; // Receiver position and clock error variance [m^2]
|
||||||
// time handling
|
// time handling
|
||||||
double epoch_tow_s; // current observation RX time [s]
|
double epoch_tow_s; // current observation RX time [s]
|
||||||
uint64_t sample_counter; // current sample counter associated with RX time [samples from start]
|
uint64_t sample_counter; // current sample counter associated with RX time [samples from start]
|
||||||
|
Loading…
Reference in New Issue
Block a user