1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-19 05:33:02 +00:00

bds_b1i: enabling bds processing in rtklib processing

This commit is contained in:
Damian Miralles 2018-12-05 15:08:22 -07:00
parent e40999572f
commit 352c82827e
4 changed files with 6 additions and 3 deletions

View File

@ -16,7 +16,7 @@ ControlThread.wait_for_flowgraph=false
;######### SIGNAL_SOURCE CONFIG ############ ;######### SIGNAL_SOURCE CONFIG ############
SignalSource.implementation=File_Signal_Source SignalSource.implementation=File_Signal_Source
SignalSource.filename=/home/dmiralles/Documents/GNSS-Metadata-Standard/install/BdsB1IStr01.dat SignalSource.filename=/home/gnss/Documents/GNSS-Metadata-Standard/install/BdsB1IStr01.dat
SignalSource.item_type=byte SignalSource.item_type=byte
SignalSource.sampling_frequency=25000000 SignalSource.sampling_frequency=25000000
SignalSource.samples=0 SignalSource.samples=0

View File

@ -220,10 +220,11 @@ const int NSATQZS = 0;
const int NSYSQZS = 0; const int NSYSQZS = 0;
#endif #endif
#define ENABDS
#ifdef ENABDS #ifdef ENABDS
const int MINPRNBDS = 1; //!< min satellite sat number of BeiDou const int MINPRNBDS = 1; //!< min satellite sat number of BeiDou
const int MAXPRNBDS = 35; //!< max satellite sat number of BeiDou const int MAXPRNBDS = 35; //!< max satellite sat number of BeiDou
const int NSATBDS = (MAXPRNBDS - MINPRNCM + 1); //!< number of BeiDou satellites const int NSATBDS = (MAXPRNBDS - MINPRNBDS + 1); //!< number of BeiDou satellites
const int NSYSBDS = 1; const int NSYSBDS = 1;
#else #else
const int MINPRNBDS = 0; const int MINPRNBDS = 0;

View File

@ -257,6 +257,9 @@ eph_t eph_to_rtklib(const Beidou_Dnav_Ephemeris& bei_eph)
rtklib_sat.Adot = 0; //only in CNAV; rtklib_sat.Adot = 0; //only in CNAV;
rtklib_sat.ndot = 0; //only in CNAV; rtklib_sat.ndot = 0; //only in CNAV;
rtklib_sat.code = 1;
rtklib_sat.flag = 1;
rtklib_sat.week = bei_eph.i_BEIDOU_week; /* week of tow */ rtklib_sat.week = bei_eph.i_BEIDOU_week; /* week of tow */
rtklib_sat.cic = bei_eph.d_Cic; rtklib_sat.cic = bei_eph.d_Cic;
rtklib_sat.cis = bei_eph.d_Cis; rtklib_sat.cis = bei_eph.d_Cis;

View File

@ -93,7 +93,6 @@ const int32_t GALILEO_E1_CODE_PERIOD_MS = 4;
const std::vector<std::pair<int32_t, int32_t>> type({{1, 6}}); const std::vector<std::pair<int32_t, int32_t>> type({{1, 6}});
const std::vector<std::pair<int32_t, int32_t>> PAGE_TYPE_bit({{1, 6}}); const std::vector<std::pair<int32_t, int32_t>> PAGE_TYPE_bit({{1, 6}});
;
/*Page 1 - Word type 1: Ephemeris (1/4)*/ /*Page 1 - Word type 1: Ephemeris (1/4)*/
const std::vector<std::pair<int32_t, int32_t>> IOD_nav_1_bit({{7, 10}}); const std::vector<std::pair<int32_t, int32_t>> IOD_nav_1_bit({{7, 10}});