mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2026-10-03 22:31:49 +00:00
TTFF reduction in GPS L1 and Galileo E1
This commit is contained in:
@@ -1337,6 +1337,8 @@ int32_t Galileo_Inav_Message::page_jk_decoder(const char* data_jk)
|
||||
WN_0 = static_cast<int32_t>(read_navigation_unsigned(data_jk_bits, WN_0_BIT));
|
||||
DLOG(INFO) << "WN_0= " << WN_0;
|
||||
TOW_0 = static_cast<int32_t>(read_navigation_unsigned(data_jk_bits, TOW_0_BIT));
|
||||
flag_TOW_set = true; // set to false externally
|
||||
flag_TOW_0 = true; // set to false externally
|
||||
DLOG(INFO) << "TOW_0= " << TOW_0;
|
||||
DLOG(INFO) << "flag_tow_set" << flag_TOW_set;
|
||||
}
|
||||
|
||||
@@ -164,6 +164,21 @@ public:
|
||||
flag_TOW_6 = flag_tow6;
|
||||
}
|
||||
|
||||
inline int32_t get_TOW0() const
|
||||
{
|
||||
return TOW_0;
|
||||
}
|
||||
|
||||
inline bool is_TOW0_set() const
|
||||
{
|
||||
return flag_TOW_0;
|
||||
}
|
||||
|
||||
inline void set_TOW0_flag(bool flag_tow0)
|
||||
{
|
||||
flag_TOW_0 = flag_tow0;
|
||||
}
|
||||
|
||||
inline bool get_flag_GGTO() const
|
||||
{
|
||||
return (flag_GGTO_1 == true and flag_GGTO_2 == true and flag_GGTO_3 == true and flag_GGTO_4 == true);
|
||||
@@ -395,6 +410,7 @@ private:
|
||||
bool flag_iono_and_GST{}; // Flag indicating that ionospheric and GST parameters (word 5) have been received
|
||||
bool flag_TOW_5{};
|
||||
bool flag_TOW_6{};
|
||||
bool flag_TOW_0{};
|
||||
bool flag_TOW_set{}; // it is true when page 5 or page 6 arrives
|
||||
bool flag_utc_model{}; // Flag indicating that utc model parameters (word 6) have been received
|
||||
|
||||
|
||||
Reference in New Issue
Block a user